PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

OpenACC grid size

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
i_alex2004



Joined: 18 Aug 2012
Posts: 8

PostPosted: Sun Oct 14, 2012 8:32 am    Post subject: OpenACC grid size Reply with quote

Hello!
Is it possible to create 3d grid in OpenACC, for example: grid [16*16*512] block [16*16]?
When I try to add gang directives to 3 nested loops, pgcc just ignores 1-st level loop and creates two-dimensional grid.
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6070
Location: The Portland Group Inc.

PostPosted: Mon Oct 15, 2012 10:52 am    Post subject: Reply with quote

Hi Alex,

Quote:
Is it possible to create 3d grid in OpenACC
While NVIDIA did add a third dimension to their grid launch specification, the third dimension is actually run sequentially from the host. Hence, we kept using just the two dimensions that run on the GPU. We may change this in the future if there is a performance relevant reason to do it, but for now now, no you can't create a 3D grid.

- Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group