[libc-commits] [PATCH] D146994: [libc] Support setting 'native' GPU architecture for libc
Artem Belevich via Phabricator via libc-commits
libc-commits at lists.llvm.org
Tue Mar 28 11:15:53 PDT 2023
tra added inline comments.
================
Comment at: libc/cmake/modules/prepare_libc_gpu_build.cmake:76
+set(gpu_test_architecture "")
+if(LIBC_GPU_TEST_ARCHITECTURE)
+ set(gpu_test_architecture ${LIBC_GPU_TEST_ARCHITECTURE})
----------------
Is that a singular architecture, or can we supply a list?
We may want to be able to build for a set of user-specified GPUs and, if I can dream out loud, allow specifying which GPU to run them on, so I could just do `niunja check-libc-sm_70` and it would run the tests with CUDA_VISIBLE_DEVICES=<ID of sm_70 GPU>
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146994/new/
https://reviews.llvm.org/D146994
More information about the libc-commits
mailing list