Skip to content

Commit aedaacc

Browse files
committed
[SYCL] Renamed variable as suggested by reviewers
Signed-off-by: Ruyman Reyes <[email protected]>
1 parent 0451bd6 commit aedaacc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sycl/source/detail/program_manager/program_manager.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,10 @@ RetT *getOrBuild(KernelProgramCache &KPCache, KeyT &&CacheKey,
239239

240240
static bool isDeviceBinaryTypeSupported(const context &C,
241241
RT::PiDeviceBinaryType Format) {
242-
backend CBackend = (detail::getSyclObjImpl(C)->getPlugin()).getBackend();
242+
backend ContextBackend = detail::getSyclObjImpl(C)->getPlugin().getBackend();
243243

244244
// The CUDA backend cannot use SPIRV
245-
if (CBackend == backend::cuda && Format == PI_DEVICE_BINARY_TYPE_SPIRV)
245+
if (ContextBackend == backend::cuda && Format == PI_DEVICE_BINARY_TYPE_SPIRV)
246246
return false;
247247

248248
// All formats except PI_DEVICE_BINARY_TYPE_SPIRV are supported.
@@ -258,7 +258,7 @@ static bool isDeviceBinaryTypeSupported(const context &C,
258258
}
259259

260260
// OpenCL 2.1 and greater require clCreateProgramWithIL
261-
if ((CBackend == backend::opencl) &&
261+
if ((ContextBackend == backend::opencl) &&
262262
C.get_platform().get_info<info::platform::version>() >= "2.1")
263263
return true;
264264

0 commit comments

Comments
 (0)