I would like to retrieve the GPU information using NVAPI. And I’m trying code based on samples.
But I’ve faced the following error when I use NvAPI_EnumPhysicalGPUs.
Error : NVAPI_NVIDIA_DEVICE_NOT_FOUND
I checked that my two GPU operate correctly by device manager.
And also I got the information of driver version by NvAPI_SYS_GetDriverAndBranchVersion.