Skip to content

Commit

Permalink
Fix CUDA architecture selection
Browse files Browse the repository at this point in the history
--cuda-gpu-arch aliases --offload-arch, so the option parser will
canonicalize to the latter.
  • Loading branch information
hahnjo authored and vgvassilev committed Dec 9, 2022
1 parent e4beb9a commit de84bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interpreter/cling/lib/Interpreter/InvocationOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ void CompilerOptions::Parse(int argc, const char* const argv[],
case options::OPT_fmodule_name_EQ: ModuleName = arg->getValue(); break;
case options::OPT_fmodules_cache_path: CachePath = arg->getValue(); break;
case options::OPT_cuda_path_EQ: CUDAPath = arg->getValue(); break;
case options::OPT_cuda_gpu_arch_EQ: CUDAGpuArch = arg->getValue(); break;
case options::OPT_offload_arch_EQ: CUDAGpuArch = arg->getValue(); break;
case options::OPT_cuda_device_only:
Language = true;
CUDADevice = true;
Expand Down

0 comments on commit de84bfc

Please sign in to comment.