This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] Fixing missing variables when CUDA SDK not in system
ClosedPublic

Authored by josemonsalve2 on Jul 27 2021, 9:39 PM.

Details

Summary

This patch fixes the error reported in D106751. When there is no CUDA SDK
installed in the system, the build fails due to missing CU_DEVICE_ATTRIBUTE
variables.

Using @zsrkmyn sugested fix

Diff Detail

Event Timeline

josemonsalve2 created this revision.Jul 27 2021, 9:39 PM
josemonsalve2 requested review of this revision.Jul 27 2021, 9:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2021, 9:39 PM
This revision is now accepted and ready to land.Jul 27 2021, 9:44 PM
This revision was landed with ongoing or failed builds.Jul 27 2021, 9:46 PM
This revision was automatically updated to reflect the committed changes.