1 if(LIBC_GPU_TARGET_ARCHITECTURE_IS_AMDGPU)
3 -mcpu=${LIBC_GPU_TARGET_ARCHITECTURE}
4 -emit-llvm # AMDGPU's intermediate object file format is bitcode.
5 --target=${LIBC_GPU_TARGET_TRIPLE}
6 -mcode-object-version=${LIBC_GPU_CODE_OBJECT_VERSION} # Manually set the ABI.
8 elseif(LIBC_GPU_TARGET_ARCHITECTURE_IS_NVPTX)
10 -march=${LIBC_GPU_TARGET_ARCHITECTURE}
11 --target=${LIBC_GPU_TARGET_TRIPLE}
12 --cuda-path=${LIBC_CUDA_ROOT}
25 libc.src.__support.OSUtil.osutil
26 NO_GPU_BUNDLE # Compile this file directly without special GPU handling.