This is an archive of the discontinued LLVM Phabricator instance.

[libomptarget] Add cmake variables to disable building the amdgpu or cuda plugins
ClosedPublic

Authored by JonChesterfield on Dec 6 2021, 5:20 AM.

Details

Diff Detail

Event Timeline

JonChesterfield created this revision.Dec 6 2021, 5:20 AM
JonChesterfield requested review of this revision.Dec 6 2021, 5:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 6 2021, 5:21 AM

I'd like this for use on machines that have nvptx and amdgpu hardware available. It may also be useful for people working on the cpu side of openmp on a machine with a GPU present that they don't currently want running.

jdoerfert accepted this revision.Dec 6 2021, 7:46 AM

LG, thought we should have a different control to disable plugins at runtime.

This revision is now accepted and ready to land.Dec 6 2021, 7:46 AM