NvAPI_EnumPhysicalGPUs error in new driver

NvAPI_EnumPhysicalGPUs works well in driver version “22.21.13.8253”, but it always returns device_not_found after i upgrade the driver to the lastest. why?