This is an archive of the discontinued LLVM Phabricator instance.

[libc] Add `LIBC_GPU_TEST_ARCHITECTURE` option to set architecture
ClosedPublic

Authored by jhuber6 on Feb 6 2023, 7:17 AM.

Details

Summary

Currently, the plan is to support testing on a single GPU architecture.
We query the supported architectures from the user's system. However,
there are times when the user would want to override this. This patch
adds the LIBC_GPU_TEST_ARCHITECTURE option, which allows users to
specify which GPU architecture to build for.

Diff Detail

Event Timeline

jhuber6 created this revision.Feb 6 2023, 7:17 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 6 2023, 7:17 AM
jhuber6 requested review of this revision.Feb 6 2023, 7:17 AM
lntue accepted this revision.Feb 6 2023, 8:49 AM
This revision is now accepted and ready to land.Feb 6 2023, 8:49 AM