We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87330ea commit c7b1673Copy full SHA for c7b1673
mlir/cuda-tile/Toy/mlir/EmitCudaTile.cpp
@@ -203,8 +203,8 @@ struct EmbedCudaTileBinaryPass
203
launchOp->setAttr("cuda_binary_size",
204
mlir::IntegerAttr::get(mlir::IntegerType::get(ctx, 64),
205
binU8Bytes.size()));
206
- launchOp->setAttr("cuda_binary_path",
207
- mlir::StringAttr::get(ctx, cudaBinPath.str()));
+ launchOp->setDiscardableAttr(
+ "cuda_binary_path", mlir::StringAttr::get(ctx, cudaBinPath.str()));
208
launchOp->setAttr("cuda_arch", mlir::StringAttr::get(ctx, gpuName));
209
});
210
0 commit comments