Skip to content

Commit 8e6c092

Browse files
authored
[SYCL][CUDA] Report cl_khr_subgroups extension (#8931)
Currently the test suite uses that to figure out if subgroups are supported. So currently the tests are skipped instead of ran even though they're passing for CUDA.
1 parent 2408035 commit 8e6c092

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
@@ -1745,7 +1745,7 @@ pi_result cuda_piDeviceGetInfo(pi_device device, pi_device_info param_name,
17451745
}
17461746
case PI_DEVICE_INFO_EXTENSIONS: {
17471747

1748-
std::string SupportedExtensions = "cl_khr_fp64 ";
1748+
std::string SupportedExtensions = "cl_khr_fp64 cl_khr_subgroups ";
17491749
SupportedExtensions += PI_DEVICE_INFO_EXTENSION_DEVICELIB_ASSERT;
17501750
SupportedExtensions += " ";
17511751

0 commit comments

Comments
 (0)