Hi, I recently do some experiments with the global data share(GDS). I wrote a kernel that simply writes some contents into GDS starting from address 0 using ds_write instructions.
The question is how to read the contents using PM4 packets without launch a "read kernel".
I have tried PACKET3_COPY_DATA and PACKET3_DMA_DATA, but these packets will hang and never return.
I was wondering if it is possible to read GDS using PM4 packets.
Solved! Go to Solution.
As the OpenCL team replied, it's more likely a question about HW programming, so you may need to check with the appropriate team. Also we don't support GDS in OpenCL so there is no direct way to access it.
Thanks.
Thank you for the above query. I've forwarded it to the OpenCL team for their suggestion. Once I get their reply, I'll get back to you.
Thanks.
As the OpenCL team replied, it's more likely a question about HW programming, so you may need to check with the appropriate team. Also we don't support GDS in OpenCL so there is no direct way to access it.
Thanks.