PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

ICE in PGI 10.9 (use VALUE attribute)

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
Tuan



Joined: 11 Jun 2009
Posts: 233

PostPosted: Wed Nov 24, 2010 8:31 pm    Post subject: ICE in PGI 10.9 (use VALUE attribute) Reply with quote

I get this ICE error when I define a variable with VALUE attribute and it's not a dummy argument. I understand that this is invalid and the compiler should be able to detect it. A sample is

Code:
attributes(global) subroutine mykernel()
  integer, value:: this_value

  ...
end subroutine

Quote:
/tmp/pgcudaforKE2eSgdXJjj_.gpu(277): error: identifier "_data_global_0" is undefined

/tmp/pgcudaforKE2eSgdXJjj_.gpu(285): error: identifier "_data_leak_0" is undefined

2 errors detected in the compilation of "/tmp/pgnvdZG2ezFC8UvxP.nv0".
PGF90-F-0000-Internal compiler error. pgnvd job exited with nonzero status code 0 (leak_gpu_utility.f95: 1033)
PGF90/x86-64 Linux 10.9-0: compilation aborted
make: *** [leak_gpu_utility.mod] Error 2


Tuan
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Nov 29, 2010 3:57 pm    Post subject: Reply with quote

Hi Tuan,

I'm not able to recreate this by just adding the "value" attribute to a local deice variable so suspect something else is going on. Can you post a reproducing example?

Note that the error does seem similar to a known issue where the compiler fails to detect when device code is trying to access a module's host variable. The compiler will be able to detect this semantic error in the 11.0 compilers.

- Mat
Back to top
View user's profile
Tuan



Joined: 11 Jun 2009
Posts: 233

PostPosted: Sat Dec 04, 2010 12:55 am    Post subject: Reply with quote

Thanks, Mat. It's been a while and i need to check the code to see where in the code I can replicate the error.

Tuan
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming 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