cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

shrike
Journeyman III

Work-Item Processing - Wavefront question

All stream cores within a compute unit execute the same instruction for each cycle. A work item can issue one VLIW instruction per clock cycle. The block of work-items that are executed together is called a wavefront. To hide latencies due to memory accesses and processing element operations, up to four workitems from the same wavefront are pipelined on the same stream core. For example, on the ATI Radeon™ HD 5870 GPU compute device, the 16 stream cores execute the same instructions for four cycles, which effectively appears as a 64-wide compute unit in execution width.

The size of wavefronts can differ on different GPU compute devices. For example, the ATI Radeon™ HD 5400 series graphics cards has a wavefront size of 32 work-items. The ATI Radeon™ HD 5800 series has a wavefront size of 64 work-items.

Compute units operate independently of each other, so it is possible for each array to execute different instructions.

 

From the  AMD Accelerated Parallel Processing Programming Guide

http://developer.amd.com/sdks/amdappsdk/assets/AMD_Accelerated_Parallel_Processing_OpenCL_Programmin...

 

If all stream cores execute the same instruction what does combination of work item to wavefront mean? Can someone explain the pipeline in wavefront?

Thank you

0 Likes
3 Replies
pboudier
Staff

each wavefront has its own program counter, so will execute different instruction.

each wavefront can be owned by a different shader type (pixel, vertex, hull, domain, geometry, sompute) too

 

Pierre B.

0 Likes

Originally posted by: pboudier each wavefront has its own program counter, so will execute different instruction.

 

each wavefront can be owned by a different shader type (pixel, vertex, hull, domain, geometry, sompute) too

 

 

 

Pierre B.

 

What is the meaning of work-groups?

(I don`t realy understand the meaning of work-group,when there are wavefronts ,who make the work)


Why not to generate one work-group per program and allocate it to one computer unit?

0 Likes

Please refer to AMD APP OpenCL Programming Guide to learn the concepts related to WorkGroup and wavefronts.

0 Likes