How to specify the number of GPU cores used in my codes instead of all

Hi, Mat

I’m sorry to bother you again. Do you know what this error ‘PGF90-F-0155-Compiler failed to translate accelerator region (see -Minfo messages): Unsupported procedure’ means?

And I use the ieee_is_nan in my device code, but it fails with ‘PGF90-S-0155-Calls from device code to a host function are allowed only in emulation mode - ieee_is_nanr8’. When the A is real(4), ieee_is_nan(A) fails similarly with ‘PGF90-S-0155-Calls from device code to a host function are allowed only in emulation mode - ieee_is_nanr4’.

Thanks a lot.
-Yu

Looks to be the same issue as before in that not all Fortran intrinsics are available on the device.