Calling Thrust from CUDA Fortran

Hi,

I would like to use Thrust to sort a 2D array. I have a license for the PGI Accelerator Visual Fortran. I am wondering if I will be able to run Thrust without a license for the C/C++ version of the accelerator.

Can you point me towards some documentation if I am able to call Thrust with my license.

Thank you

Kirk

Hi Kirk,

The Accelerator license would only be needed for C/C++ if you were using the PGI C/C++ compilers to compile code with OpenACC/PGI Accelerator model. There is no restriction on using external libraries, CUDA, C, C++, or any other.

We have no run time license restrictions. Licensing is only on the compilers and tools.

Hope this helps,
Mat