Skip to content

Commit

Permalink
Merge pull request #1247 from PietroGhg/pietro/empty_cmd_buffer_fill
Browse files Browse the repository at this point in the history
[NATIVECPU] Empty implementation for command buffer fill
  • Loading branch information
kbenzie committed Jan 24, 2024
2 parents eddda12 + 2bd41d7 commit 8d3233a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions source/adapters/native_cpu/command_buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,32 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferEnqueueExp(
"implemented for the NativeCPU adapter.");
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
}

UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendMemBufferFillExp(
ur_exp_command_buffer_handle_t, ur_mem_handle_t, const void *, size_t,
size_t, size_t, uint32_t, const ur_exp_command_buffer_sync_point_t *,
ur_exp_command_buffer_sync_point_t *) {
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
}

UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMFillExp(
ur_exp_command_buffer_handle_t, void *, const void *, size_t, size_t,
uint32_t, const ur_exp_command_buffer_sync_point_t *,
ur_exp_command_buffer_sync_point_t *) {
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
}

UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMPrefetchExp(
ur_exp_command_buffer_handle_t, const void *, size_t,
ur_usm_migration_flags_t, uint32_t,
const ur_exp_command_buffer_sync_point_t *,
ur_exp_command_buffer_sync_point_t *) {
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
}

UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMAdviseExp(
ur_exp_command_buffer_handle_t, const void *, size_t, ur_usm_advice_flags_t,
uint32_t, const ur_exp_command_buffer_sync_point_t *,
ur_exp_command_buffer_sync_point_t *) {
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
}

0 comments on commit 8d3233a

Please sign in to comment.