Skip to content

Commit a5f34eb

Browse files
sherry-yuanpcolberg
authored andcommitted
Update function signature in source files accordingly
clEnqueueWriteBufferRect function's parameter name changed in newly synced khronos header. Need to change source files as well
1 parent 4144b13 commit a5f34eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/acl_mem.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3453,13 +3453,13 @@ CL_API_ENTRY cl_int CL_API_CALL clEnqueueReadBufferRectIntelFPGA(
34533453
ACL_EXPORT
34543454
CL_API_ENTRY cl_int CL_API_CALL clEnqueueReadBufferRect(
34553455
cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_read,
3456-
const size_t *buffer_offset, const size_t *host_offset,
3456+
const size_t *buffer_origin, const size_t *host_origin,
34573457
const size_t *region, size_t buffer_row_pitch, size_t buffer_slice_pitch,
34583458
size_t host_row_pitch, size_t host_slice_pitch, void *ptr,
34593459
cl_uint num_events_in_wait_list, const cl_event *event_wait_list,
34603460
cl_event *event) {
34613461
return clEnqueueReadBufferRectIntelFPGA(
3462-
command_queue, buffer, blocking_read, buffer_offset, host_offset, region,
3462+
command_queue, buffer, blocking_read, buffer_origin, host_origin, region,
34633463
buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch,
34643464
ptr, num_events_in_wait_list, event_wait_list, event);
34653465
}

0 commit comments

Comments
 (0)