Skip to content

Commit b760ce8

Browse files
author
Jaime Arteaga
committed
Implement urPlatformGetApiVersion
Signed-off-by: Jaime Arteaga <[email protected]>
1 parent 7f16896 commit b760ce8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

sycl/plugins/unified_runtime/ur/adapters/level_zero/ur_level_zero_platform.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urPlatformGetApiVersion(
288288
ur_platform_handle_t Driver, ///< [in] handle of the platform
289289
ur_api_version_t *Version ///< [out] api version
290290
) {
291-
std::ignore = Driver;
292-
std::ignore = Version;
293-
urPrint("[UR][L0] %s function not implemented!\n", __FUNCTION__);
294-
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
291+
*Version = UR_API_VERSION_0_6;
292+
return UR_RESULT_SUCCESS;
295293
}
296294

297295
UR_APIEXPORT ur_result_t UR_APICALL urPlatformGetNativeHandle(

0 commit comments

Comments
 (0)