File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -86,11 +86,11 @@ class ImageRef {
86
86
}
87
87
88
88
ImageRef (const Buffer &B)
89
- : ImageRef(
90
- B.OutputProps.Height , B.OutputProps.Width ,
91
- B.getSingleElementSize(), B.Channels,
92
- B.Format == DataFormat::Float32 || B.Format == DataFormat::Float64,
93
- llvm::StringRef (B.Data.get(), B.size())) {}
89
+ : ImageRef(B.OutputProps.Height, B.OutputProps.Width,
90
+ B.getSingleElementSize() , B.Channels ,
91
+ B.Format == DataFormat::Float32 ||
92
+ B.Format == DataFormat::Float64,
93
+ llvm::StringRef (B.Data.get(), B.size())) {}
94
94
95
95
uint32_t getHeight () const { return Height; }
96
96
uint32_t getWidth () const { return Width; }
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ struct RootParameter {
162
162
struct Settings {
163
163
llvm::SmallVector<RootParameter> RootParams;
164
164
};
165
- }; // namespace dx
165
+ } // namespace dx
166
166
167
167
struct RuntimeSettings {
168
168
dx::Settings DX;
You can’t perform that action at this time.
0 commit comments