This op is added to allow MLIR code running on multi-GPU systems to
select the GPU they want to execute operations on when no GPU is
otherwise specified.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D119883
[MLIR][GPU] Add gpu.set_default_device op ClosedPublic Authored by krzysz00 on Feb 15 2022, 12:25 PM.
Details Summary This op is added to allow MLIR code running on multi-GPU systems to
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 17 2022, 12:48 PM Closed by commit rG84718d37db57: [MLIR][GPU] Add gpu.set_default_device op (authored by krzysz00). · Explain WhyFeb 17 2022, 1:30 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 409773 mlir/include/mlir/Dialect/GPU/GPUOps.td
mlir/lib/Conversion/GPUCommon/GPUToLLVMConversion.cpp
mlir/lib/ExecutionEngine/CudaRuntimeWrappers.cpp
mlir/lib/ExecutionEngine/RocmRuntimeWrappers.cpp
mlir/test/Dialect/GPU/ops.mlir
|