PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

ICE with big size CONSTANT array

 
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: Mon Feb 15, 2010 12:32 pm    Post subject: ICE with big size CONSTANT array Reply with quote

I reported this to trs a week ago, yet no feedback.
- Internal compiler error (ICE) when I declare a CONSTANT array in a module with 10,000 elements.
Quote:

/tmp/pgnvdKXheS02ym4iu.nv4(0): Error: Const space overflowed
PGF90-F-0000-Internal compiler error. pgnvd job exited with nonzero status code 0 (data.f90: 11)
PGF90/x86-64 Linux 10.2-0: compilation aborted


Code:

module data             
  use cudafor
  implicit none
  parameter(N=10000)
  integer :: N
  double precision, constant :: X(N)

contains
  subroutine dosomething()

  end subroutine dosomething
end module data

compilation command: pgf95 -c data.f95 -Mcuda

Could someone give me a hint on the maximum CONSTANT memory space.

Tuan
Quote:
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Feb 15, 2010 4:13 pm    Post subject: Reply with quote

Quote:
Could someone give me a hint on the maximum CONSTANT memory space.

64Kb.

We'll work on a way to have you're program error if it uses more then the allowed amount. (TPR#16618)

- Mat
Back to top
View user's profile
Tuan



Joined: 11 Jun 2009
Posts: 233

PostPosted: Mon Feb 15, 2010 8:36 pm    Post subject: Reply with quote

mkcolg wrote:
Quote:
Could someone give me a hint on the maximum CONSTANT memory space.

64Kb.

We'll work on a way to have you're program error if it uses more then the allowed amount. (TPR#16618)

- Mat


Thanks, Mat.

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