File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
include/mlir/Dialect/GPU/TransformOps
lib/Dialect/GPU/TransformOps Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ struct GpuIdBuilder {
66
66
67
67
GpuIdBuilder () = default ;
68
68
GpuIdBuilder (MLIRContext *ctx, bool useLinearMapping,
69
- MappingIdBuilderFnType builder);
69
+ const MappingIdBuilderFnType & builder);
70
70
71
71
// / The mapping attributes targeted by this generator.
72
72
SmallVector<DeviceMappingAttrInterface> mappingAttributes;
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ namespace transform {
169
169
namespace gpu {
170
170
171
171
GpuIdBuilder::GpuIdBuilder (MLIRContext *ctx, bool useLinearMapping,
172
- MappingIdBuilderFnType fn)
172
+ const MappingIdBuilderFnType & fn)
173
173
: mappingAttributes(), idBuilder() {
174
174
if (useLinearMapping) {
175
175
for (uint64_t d = static_cast <uint64_t >(MappingId::LinearDim0),
You can’t perform that action at this time.
0 commit comments