rahulgarg

UAV allocaton in CAL v2

Discussion created by rahulgarg on Dec 21, 2009
Latest reply on Jan 3, 2010 by emuller
On HD 4000 and 5000

I was reading through the new CAL IL and the CAL IL now exposes UAVs.  I am interested in doing 32-bit aligned writes which UAVs expose.

From what I understood, the relevant instructions compatible across both HD 4000 and HD 5000 are dcl_raw_uav, uav_raw_load and uav_raw_store. However,  how do I allocate a UAV using CAL C API and what resource id do I pass to dcl_raw_uav?

 

 

Outcomes