How to Query Device Properties and Handle Errors in CUDA Fortran

Originally published at: https://developer.nvidia.com/blog/how-query-device-properties-and-handle-errors-cuda-fortran/

CUDA Fortran for Scientists and Engineers shows how high-performance application developers can leverage the power of GPUs using Fortran. In this third post of the CUDA Fortran series we discuss various characteristics of the wide range of CUDA-capable GPUs, how to query device properties from within a CUDA Fortran program, and how to handle errors.…

Is it possible to get the unique device BUS ID through the "prop" derived type? In the native C interface, it is possible to fetch the CHARACTER valued attribute called "luid", but that is apparently missing in the Fortran API.

I suggest you take this question to the developer forums, devtalk.nvidia.com.