Skip to content

Commit 1d136bd

Browse files
author
Martin
committed
[SYCL][CUDA][HIP] Add missing PI_DEVICE_INFO_IMAGE_SRGB case
1 parent 39017a3 commit 1d136bd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sycl/plugins/hip/pi_hip.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1961,6 +1961,7 @@ pi_result hip_piDeviceGetInfo(pi_device device, pi_device_info param_name,
19611961
case PI_DEVICE_INFO_GPU_HW_THREADS_PER_EU:
19621962
case PI_DEVICE_INFO_MAX_MEM_BANDWIDTH:
19631963
case PI_EXT_ONEAPI_DEVICE_INFO_BFLOAT16_MATH_FUNCTIONS:
1964+
case PI_DEVICE_INFO_IMAGE_SRGB:
19641965
setErrorMessage("HIP backend does not support this query",
19651966
PI_ERROR_INVALID_ARG_VALUE);
19661967
return PI_ERROR_PLUGIN_SPECIFIC_ERROR;

0 commit comments

Comments
 (0)