call to cuMemHostUnregister returned error 700

Hello,

I have an error at runtime :

call to cuMemHostUnregister returned error 700: Launch failed

It is said that, this error comes in dereferencing an invalid device pointer or accessing out of bounds shared memory.

Do you have any suggestion to investigate the program further?

Thank you ,
Regards,
Minh

Is this OpenACC? If yes, then look at the variables in your copy clauses. Are the correct bounds being used?

Do you have any suggestion to investigate the program further?

Set the environment variable “PGI_ACC_DEBUG=1”. You will be flooded with information but it will show you the variable that’s causing the error.

  • Mat