Skip to content

Commit 8680c25

Browse files
ayylolaarongreig
authored andcommitted
Add clarification comment
1 parent 62ba9e9 commit 8680c25

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/adapters/opencl/device.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
906906
oclv::OpenCLVersion DevVer;
907907
CL_RETURN_ON_FAILURE(cl_adapter::getDeviceVersion(
908908
cl_adapter::cast<cl_device_id>(hDevice), DevVer));
909+
/* Independent forward progress query is only supported as of OpenCL 2.1
910+
* if version is older we return a default false. */
909911
if (DevVer >= oclv::V2_1) {
910912
cl_bool CLValue;
911913
CL_RETURN_ON_FAILURE(

0 commit comments

Comments
 (0)