The Khronos Group - a non-profit industry consortium to develop, publish and promote open standard, royalty-free media authoring and acceleration standards for desktop and handheld devices, combined with conformance qualification programs for platform and device interoperability.

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Unittesting Image Read an write

Hi there,

i'm not really shure if my assumption is correct so maybe some can clearify it.
I'm Writing unittests for an OpenCL Abstraction layer including alle the basics. I Wont to test if reading and writing vor images and buffers works fine. For that i do the following (in pseudocode)

I'm asking myself if the Data will be transported to CL without any usage of that buffer. If I remember correctly, the data doesn't have to be pushed to the openCl device until its used. So will that code really test the memory transfer? Or does it only copies the values in host memory address space?