cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

rexiaoyu
Journeyman III

Thread group in cal V.S. work group in OpenCl

In CAL, we organize the threads into a thread group in linear manner. In OpenCL, the threads can be organized in tiled manner. I am wondering how to map the tiled to the linear.

0 Likes
3 Replies

It is not that the threads in OpenCL are tiled, but blocked linear.
0 Likes

Originally posted by: MicahVillmow It is not that the threads in OpenCL are tiled, but blocked linear.


What is the difference between linear and blocked linear? How to map the blocked linear to the cal's linear? Can you explain it more clearly? Thank you.

0 Likes

rexiaoyu,
Linear is sequential along a single line, blocked linear is sequential within a block and each block is sequential. In tiled mode it usually follows a hierarchical Z pattern.
0 Likes