Skip to content

Commit 10baa78

Browse files
committed
Empty implementation for command buffer fill
1 parent 92f44da commit 10baa78

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

source/adapters/native_cpu/command_buffer.cpp

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,26 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferEnqueueExp(
133133
"implemented for the NativeCPU adapter.");
134134
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
135135
}
136+
137+
UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendMemBufferFillExp(
138+
ur_exp_command_buffer_handle_t, ur_mem_handle_t,
139+
const void *, size_t, size_t, size_t,
140+
uint32_t,
141+
const ur_exp_command_buffer_sync_point_t *,
142+
ur_exp_command_buffer_sync_point_t *) {
143+
detail::ur::die("Experimental Command-buffer feature is not "
144+
"implemented for the NativeCPU adapter.");
145+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
146+
}
147+
148+
UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMFillExp(
149+
ur_exp_command_buffer_handle_t,
150+
void *, const void *,
151+
size_t, size_t,
152+
uint32_t,
153+
const ur_exp_command_buffer_sync_point_t *,
154+
ur_exp_command_buffer_sync_point_t *) {
155+
detail::ur::die("Experimental Command-buffer feature is not "
156+
"implemented for the NativeCPU adapter.");
157+
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
158+
}

0 commit comments

Comments
 (0)