PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

PGI 12.3 bug with device constant data

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



Joined: 11 Jun 2009
Posts: 233

PostPosted: Mon Mar 19, 2012 6:55 pm    Post subject: PGI 12.3 bug with device constant data Reply with quote

I'm using PGI 12.3 and CUDA 4.1.

Code:
   
REAL :: CaF_infty, F_T, Ca_myo
REAL, constant :: Kd_F_const

CaF_infty =  F_T * Ca_myo / (Kd_F_const + Ca_myo)

The internal compiler error is
Code:

PGF90-S-0000-Internal compiler error. mk_offset: unexpected ast    7303 (src/tscell_gpu_utility.f95: 350)
  0 inform,   0 warnings,   1 severes, 0 fatal for init_fluo


PGI 11.10 with CUDA 4.0 works fine. This is supposed to be PGI bug, not from CUDA library.

Thanks,
Tuan
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Mar 22, 2012 3:39 pm    Post subject: Reply with quote

Hi Tuan,

Thanks for the report. I was able to create a small reproducing example and have filed a problem report (TPR#18571). The work around is to copy the device constant variable to a host temporary variable before using it in an expression.

Best Regards,
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