cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

Highlighted
Journeyman III
Journeyman III

How to read GDS using PM4 packets in Vega 10?

Jump to solution

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 Kudos
Reply
1 Solution

Accepted Solutions
Highlighted
Staff
Staff

Re: How to read GDS using PM4 packets in Vega 10?

Jump 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.

View solution in original post

2 Replies
Highlighted
Staff
Staff

Re: How to read GDS using PM4 packets in Vega 10?

Jump to solution

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 Kudos
Reply
Highlighted
Staff
Staff

Re: How to read GDS using PM4 packets in Vega 10?

Jump 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.

View solution in original post