@@ -71,6 +71,15 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
71
71
case UR_DEVICE_INFO_PLATFORM:
72
72
return ReturnValue (hDevice->Platform );
73
73
break ;
74
+ case UR_DEVICE_INFO_BACKEND_RUNTIME_VERSION:
75
+ return ReturnValue ((std::to_string (OL_VERSION_MAJOR) + " ." +
76
+ std::to_string (OL_VERSION_MINOR) + " ." +
77
+ std::to_string (OL_VERSION_PATCH))
78
+ .c_str ());
79
+ case UR_DEVICE_INFO_PROFILE:
80
+ // This doesn't make sense for non-opencl devices, copy other backends and
81
+ // just return FULL_PROFILE
82
+ return ReturnValue (" FULL_PROFILE" );
74
83
case UR_DEVICE_INFO_MAX_COMPUTE_UNITS:
75
84
case UR_DEVICE_INFO_NUM_COMPUTE_UNITS:
76
85
olInfo = OL_DEVICE_INFO_NUM_COMPUTE_UNITS;
@@ -189,6 +198,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
189
198
case UR_DEVICE_INFO_VIRTUAL_MEMORY_SUPPORT:
190
199
case UR_DEVICE_INFO_MEM_CHANNEL_SUPPORT:
191
200
case UR_DEVICE_INFO_HOST_PIPE_READ_WRITE_SUPPORT:
201
+ case UR_DEVICE_INFO_ASYNC_BARRIER:
202
+ case UR_DEVICE_INFO_ESIMD_SUPPORT:
192
203
// TODO: Atomic queries in Offload
193
204
case UR_DEVICE_INFO_ATOMIC_64:
194
205
case UR_DEVICE_INFO_IMAGE_SRGB:
0 commit comments