The “PGI Fortran & C Accelerator Programming Model” manual mentions several runtime library routines. I can use most of them, but acc_on_device gives a compiler error (error S0038 : Symbol, acc_on_device has not been explicity declared). I do not see this function mentioned in the accel_lib.h file on my machine.

I am using PVF10.1. Is this function available?


Hi Charlotte,

Unfortunately the implementation of the Accelerator model is a bit behind the specification and “acc_on_device” is one of the few features left to be implemented. It’s currently expected to be available mid-2010.