cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

harry1
Journeyman III

How to read GDS using PM4 packets in Vega 10?

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.

0 Likes
1 Solution
dipak
Big Boss

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.

View solution in original post

2 Replies
dipak
Big Boss

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.

0 Likes
dipak
Big Boss

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.