This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Add gpu.memzero operation
AcceptedPublic

Authored by ezhulenev on Sep 14 2022, 3:47 PM.

Diff Detail

Event Timeline

ezhulenev created this revision.Sep 14 2022, 3:47 PM
ezhulenev requested review of this revision.Sep 14 2022, 3:47 PM
ezhulenev edited the summary of this revision. (Show Details)Sep 14 2022, 3:50 PM
herhut accepted this revision.Sep 15 2022, 7:02 AM
This revision is now accepted and ready to land.Sep 15 2022, 7:02 AM
bondhugula accepted this revision.Mar 23 2023, 5:38 AM

LGTM.

Do you plan to add a lowering via CUDA memset? If not, this could be a useful starter issue to list on LLVM Github issues.

mlir/test/Dialect/GPU/ops.mlir
261

Nit: Indent CHECK-LABEL on par with the line above.