OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU.
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.

enqueueReadBufferRect() doesn't work in Xeon PHI

moises_v_
Beginner
374 Views

Hi guys,

Have you ever tried the enqueueReadBufferRect() call for the Xeon PHI? It seems that there is a bug in the implementation for this function.

This call copies a region of data from the device to the host. You can spara_intel.pnget the row pitch and the slide pitch for device side and host side. If you try to copy data from the device to the host, there are some positions in the host pointer that are not updated. The picture at right shows an example of this wrong behaviour implemented in the attached source code. The zeros in red are wrong data, their data should be twos.

 

 

It doesn't happen in Nvidia GPUs, neither ATI GPUs or INTEL CPUs. This incorrect behaviour only occurs for the Xeon PHI. Please, Somebody had the same problem?

 

Thank you so much,

 

Moisés Viñas

0 Kudos
1 Reply
Yuri_K_Intel
Employee
374 Views
Hi Moisés, I will try to reproduce this issue. I will let you know the result. Thanks, Yuri
0 Kudos
Reply