Skip to content

Commit

Permalink
Update function signature in source files accordingly
Browse files Browse the repository at this point in the history
clEnqueueWriteBufferRect function's parameter name changed in newly synced khronos header. Need to change source files as well
  • Loading branch information
sherry-yuan authored and pcolberg committed Jan 21, 2022
1 parent 4144b13 commit a5f34eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/acl_mem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3453,13 +3453,13 @@ CL_API_ENTRY cl_int CL_API_CALL clEnqueueReadBufferRectIntelFPGA(
ACL_EXPORT
CL_API_ENTRY cl_int CL_API_CALL clEnqueueReadBufferRect(
cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_read,
const size_t *buffer_offset, const size_t *host_offset,
const size_t *buffer_origin, const size_t *host_origin,
const size_t *region, size_t buffer_row_pitch, size_t buffer_slice_pitch,
size_t host_row_pitch, size_t host_slice_pitch, void *ptr,
cl_uint num_events_in_wait_list, const cl_event *event_wait_list,
cl_event *event) {
return clEnqueueReadBufferRectIntelFPGA(
command_queue, buffer, blocking_read, buffer_offset, host_offset, region,
command_queue, buffer, blocking_read, buffer_origin, host_origin, region,
buffer_row_pitch, buffer_slice_pitch, host_row_pitch, host_slice_pitch,
ptr, num_events_in_wait_list, event_wait_list, event);
}
Expand Down

0 comments on commit a5f34eb

Please sign in to comment.