From a5f34ebaf3eac81d2a28da9b0809d203bb424f8d Mon Sep 17 00:00:00 2001 From: Sherry Yuan Date: Thu, 20 Jan 2022 11:23:40 -0500 Subject: [PATCH] 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 --- src/acl_mem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/acl_mem.cpp b/src/acl_mem.cpp index ce3697d6..62258405 100644 --- a/src/acl_mem.cpp +++ b/src/acl_mem.cpp @@ -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); }