| View previous topic :: View next topic |
| Author |
Message |
Tuan
Joined: 11 Jun 2009 Posts: 226
|
Posted: Mon Feb 15, 2010 12:32 pm Post subject: ICE with big size CONSTANT array |
|
|
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 |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Mon Feb 15, 2010 4:13 pm Post subject: |
|
|
| 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 |
|
 |
Tuan
Joined: 11 Jun 2009 Posts: 226
|
Posted: Mon Feb 15, 2010 8:36 pm Post subject: |
|
|
| 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 |
|
 |
|