This is an archive of the discontinued LLVM Phabricator instance.

[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
select the GPU they want to execute operations on when no GPU is
otherwise specified.

Diff Detail

Event Timeline

krzysz00 created this revision.Feb 15 2022, 12:25 PM
krzysz00 requested review of this revision.Feb 15 2022, 12:25 PM
mehdi_amini accepted this revision.Feb 17 2022, 12:48 PM
This revision is now accepted and ready to land.Feb 17 2022, 12:48 PM
This revision was automatically updated to reflect the committed changes.