Skip to content

Commit c7b1673

Browse files
Update mlir/cuda-tile/Toy/mlir/EmitCudaTile.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 87330ea commit c7b1673

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/cuda-tile/Toy/mlir/EmitCudaTile.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ struct EmbedCudaTileBinaryPass
203203
launchOp->setAttr("cuda_binary_size",
204204
mlir::IntegerAttr::get(mlir::IntegerType::get(ctx, 64),
205205
binU8Bytes.size()));
206-
launchOp->setAttr("cuda_binary_path",
207-
mlir::StringAttr::get(ctx, cudaBinPath.str()));
206+
launchOp->setDiscardableAttr(
207+
"cuda_binary_path", mlir::StringAttr::get(ctx, cudaBinPath.str()));
208208
launchOp->setAttr("cuda_arch", mlir::StringAttr::get(ctx, gpuName));
209209
});
210210

0 commit comments

Comments
 (0)