-
Notifications
You must be signed in to change notification settings - Fork 795
Closed
Labels
DocumentationMissing documentation for the code, compiler or runtime features, etc.Missing documentation for the code, compiler or runtime features, etc.cudaCUDA back-endCUDA back-end
Description
Is there a way to specify which CUDA architecture to build for ?
E.g. sm_35
, sm_70
, etc ?
Trying with --cuda-gpu-arch
does not seem to work:
/data/user/fwyzard/sycl/build/bin/clang++ -O2 -g -fsycl -fsycl-targets=nvptx64-nvidia-cuda-sycldevice -Wno-unknown-cuda-version --cuda-gpu-arch=sm_75 simple-sycl-app.cpp -o simple-sycl-app-cuda
clang-11: warning: argument unused during compilation: '--cuda-gpu-arch=sm_75' [-Wunused-command-line-argument]
Metadata
Metadata
Assignees
Labels
DocumentationMissing documentation for the code, compiler or runtime features, etc.Missing documentation for the code, compiler or runtime features, etc.cudaCUDA back-endCUDA back-end