diff --git a/interpreter/cling/lib/Interpreter/InvocationOptions.cpp b/interpreter/cling/lib/Interpreter/InvocationOptions.cpp index 8ebe19be91463..fb15e5ff92063 100644 --- a/interpreter/cling/lib/Interpreter/InvocationOptions.cpp +++ b/interpreter/cling/lib/Interpreter/InvocationOptions.cpp @@ -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;