Skip to content

Commit 1716db3

Browse files
committed
Move not implemented command buffer commands to previous position
1 parent 84ef0df commit 1716db3

File tree

1 file changed

+12
-12
lines changed
  • source/adapters/level_zero/v2

1 file changed

+12
-12
lines changed

source/adapters/level_zero/v2/api.cpp

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,18 @@ ur_result_t urCommandBufferAppendUSMAdviseExp(
384384
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
385385
}
386386

387+
ur_result_t urCommandBufferRetainCommandExp(
388+
ur_exp_command_buffer_command_handle_t hCommand) {
389+
logger::error("{} function not implemented!", __FUNCTION__);
390+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
391+
}
392+
393+
ur_result_t urCommandBufferReleaseCommandExp(
394+
ur_exp_command_buffer_command_handle_t hCommand) {
395+
logger::error("{} function not implemented!", __FUNCTION__);
396+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
397+
}
398+
387399
ur_result_t urCommandBufferUpdateKernelLaunchExp(
388400
ur_exp_command_buffer_command_handle_t hCommand,
389401
const ur_exp_command_buffer_update_kernel_launch_desc_t
@@ -406,18 +418,6 @@ ur_result_t urCommandBufferUpdateWaitEventsExp(
406418
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
407419
}
408420

409-
ur_result_t urCommandBufferRetainCommandExp(
410-
ur_exp_command_buffer_command_handle_t hCommand) {
411-
logger::error("{} function not implemented!", __FUNCTION__);
412-
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
413-
}
414-
415-
ur_result_t urCommandBufferReleaseCommandExp(
416-
ur_exp_command_buffer_command_handle_t hCommand) {
417-
logger::error("{} function not implemented!", __FUNCTION__);
418-
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
419-
}
420-
421421
ur_result_t urCommandBufferCommandGetInfoExp(
422422
ur_exp_command_buffer_command_handle_t hCommand,
423423
ur_exp_command_buffer_command_info_t propName, size_t propSize,

0 commit comments

Comments
 (0)