Skip to content

Commit 1984ceb

Browse files
ayylolaarongreig
authored andcommitted
clang format
1 parent 8680c25 commit 1984ceb

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/adapters/opencl/device.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -909,15 +909,15 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
909909
/* Independent forward progress query is only supported as of OpenCL 2.1
910910
* if version is older we return a default false. */
911911
if (DevVer >= oclv::V2_1) {
912-
cl_bool CLValue;
913-
CL_RETURN_ON_FAILURE(
914-
clGetDeviceInfo(cl_adapter::cast<cl_device_id>(hDevice), CLPropName,
915-
sizeof(cl_bool), &CLValue, nullptr));
912+
cl_bool CLValue;
913+
CL_RETURN_ON_FAILURE(
914+
clGetDeviceInfo(cl_adapter::cast<cl_device_id>(hDevice), CLPropName,
915+
sizeof(cl_bool), &CLValue, nullptr));
916916

917-
/* cl_bool is uint32_t and ur_bool_t is bool */
918-
return ReturnValue(static_cast<ur_bool_t>(CLValue));
917+
/* cl_bool is uint32_t and ur_bool_t is bool */
918+
return ReturnValue(static_cast<ur_bool_t>(CLValue));
919919
} else {
920-
return ReturnValue(false);
920+
return ReturnValue(false);
921921
}
922922
}
923923
case UR_DEVICE_INFO_VENDOR_ID:

0 commit comments

Comments
 (0)