AMD Logo AMD Developer Central
AMD Developer Forums
Decrease font size
Increase font size
Topic Title: Thread group in cal V.S. work group in OpenCl
Topic Summary:
Created On: 11/03/2009 04:57 AM
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 11/03/2009 04:57 AM
User is offline View Users Profile Print this message

Author Icon
rexiaoyu

Posts: 27
Joined: 08/04/2009

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.

 11/03/2009 01:12 PM
User is offline View Users Profile Print this message

Author Icon
MicahVillmow

Posts: 525
Joined: 02/05/2008

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

-------------------------
Micah Villmow
Advanced Micro Devices Inc.
--------------------------------
The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions and typographical errors. Links to third party sites are for convenience only, and no endorsement is implied.

 11/03/2009 10:32 PM
User is offline View Users Profile Print this message

Author Icon
rexiaoyu

Posts: 27
Joined: 08/04/2009

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.

 11/04/2009 01:23 PM
User is offline View Users Profile Print this message

Author Icon
MicahVillmow

Posts: 525
Joined: 02/05/2008

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.


-------------------------
Micah Villmow
Advanced Micro Devices Inc.
--------------------------------
The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions and typographical errors. Links to third party sites are for convenience only, and no endorsement is implied.

Statistics
6123 users are registered to the AMD Developer Forums forum.
There are currently 1 users logged in.

FuseTalk Hosting Executive Plan v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.

Contact AMD | Terms and Conditions | Forum Rules | ©2009 Advanced Micro Devices, Inc. | Privacy | Trademark information