Skip to content

Commit 2bd41d7

Browse files
committed
add empty impls for urCommandBufferAppendUSMPrefetchExp and urCommandBufferAppendUSMAdviseExp
1 parent 8262da9 commit 2bd41d7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

source/adapters/native_cpu/command_buffer.cpp

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,18 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMFillExp(
147147
ur_exp_command_buffer_sync_point_t *) {
148148
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
149149
}
150+
151+
UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMPrefetchExp(
152+
ur_exp_command_buffer_handle_t, const void *, size_t,
153+
ur_usm_migration_flags_t, uint32_t,
154+
const ur_exp_command_buffer_sync_point_t *,
155+
ur_exp_command_buffer_sync_point_t *) {
156+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
157+
}
158+
159+
UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMAdviseExp(
160+
ur_exp_command_buffer_handle_t, const void *, size_t, ur_usm_advice_flags_t,
161+
uint32_t, const ur_exp_command_buffer_sync_point_t *,
162+
ur_exp_command_buffer_sync_point_t *) {
163+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
164+
}

0 commit comments

Comments
 (0)