Hi Mat,
It works! Thanks for your suggestion.
And I want to make sure that does it mean I can only put all the device related data, subroutines and functions into the module cuda_so_f90 for making shared objects and DLLs ?
Are there any concerns beyond this design ?
CY