|
| View previous topic :: View next topic |
| Author |
Message |
AmitSMU
Joined: 31 Jan 2013 Posts: 1
|
Posted: Tue Mar 05, 2013 11:38 am Post subject: call to cuMemHostRegister returned error 1 |
|
|
Dear All,
I get this error "call to cuMemHostRegister returned error 1 " when I run my Fortran program using OpenACC directives.
Our version of PGI is 13.2 and we are running this program on a NVIDIA M2070
One thing that is unique here is that one of the array is a four-dimensional array in Fortran. So my question is what am I doing wrong here. Do I need to provide array indices in the copyin? Please help.
.... program
....
!$acc data copyin(a,b,c), create(t,u)
! here "a" is a four dimensional array, and "b" & "c" are 2d array
....
....
!$acc kernels
....
!$acc end kernels
....
....
!$acc update host(a)
....
....
....
!$acc end data
.....
! prgram end |
|
| Back to top |
|
 |
mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Tue Mar 05, 2013 12:18 pm Post subject: |
|
|
Hi AmitSMU,
"cuMemHostRegister" is the call to lock host page-memory. So my best guess is the error is occurs at your update host directive. You can double check by setting the environment variable "PGI_ACC_DEBUG=1" to see all the calls made to the CUDA run time.
Now why this is occurring, I unfortunately can't tell. Error 1 means that an invalid value was passed to "cuMemHostRegister". If you can send a reproducing example to PGI Customer Service (trs@pgroup.com) we should be able to determine what value and why it's invalid.
Thanks,
Mat |
|
| Back to top |
|
 |
|
|
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 © 2001, 2002 phpBB Group
|