Display possible NVIDIA CUDA/RTC library loading error message only in case a NVIDIA device was found using OpenCL

This commit is contained in:
Jens Steube
2020-09-06 13:29:32 +02:00
parent 111f39eeb2
commit 57bef8abc9
2 changed files with 28 additions and 5 deletions

View File

@@ -1557,6 +1557,9 @@ typedef struct backend_ctx
// cuda
int rc_cuda_init;
int rc_nvrtc_init;
int nvrtc_driver_version;
int cuda_driver_version;