Skip to content

Commit b06a7f6

Browse files
authored
[SYCL][NFC] Remove unused variable. (#4131)
1 parent 4bdf382 commit b06a7f6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clang/lib/Driver/ToolChains/HIP.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,6 @@ void HIPToolChain::addClangTargetOptions(
250250
DeviceOffloadingKind == Action::OFK_SYCL) &&
251251
"Only HIP and SYCL offloading kinds are supported for GPUs.");
252252

253-
StringRef GpuArch = getGPUArch(DriverArgs);
254-
255253
CC1Args.push_back("-fcuda-is-device");
256254

257255
if (DriverArgs.hasFlag(options::OPT_fcuda_approx_transcendentals,

0 commit comments

Comments
 (0)