Skip to content

Commit f5edfde

Browse files
pgorlanibader
andauthored
Update sycl/plugins/cuda/pi_cuda.cpp
Co-authored-by: Alexey Bader <[email protected]>
1 parent 5227132 commit f5edfde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/plugins/cuda/pi_cuda.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1161,7 +1161,7 @@ pi_result cuda_piDeviceGetInfo(pi_device device, pi_device_info param_name,
11611161
pi_uint64{max_alloc});
11621162
}
11631163
case PI_DEVICE_INFO_IMAGE_SUPPORT: {
1164-
pi_bool enabled;
1164+
pi_bool enabled = PI_FALSE;
11651165

11661166
if (std::getenv("PI_CUDA_ENABLE_IMAGE_SUPPORT") != nullptr) {
11671167
enabled = PI_TRUE;

0 commit comments

Comments
 (0)