[cfe-users] omp_get_num_devices() returns 0 even though I have GPUs

2020-07-02 Thread mashilamani sambasivam via cfe-users
Hi, I am trying to offload to my GPUs. I have GTX1060 6GB with compute capability of 6.1. I followed the instructions given in https://hpc-wiki.info/hpc/Building_LLVM/Clang_with_OpenMP_Offloading_to_NVIDIA_GPUs Then I compiled my helloworld program using the following environment variables: CFLAG

[cfe-users] Fwd: omp_get_num_devices() returns 0 even though I have GPUs

2020-07-02 Thread mashilamani sambasivam via cfe-users
I forgot to mention that I am using the latest clang-llvm-openmp versions of source code (10.0.0). -- Forwarded message - From: mashilamani sambasivam Date: Fri, Jul 3, 2020 at 10:56 AM Subject: omp_get_num_devices() returns 0 even though I have GPUs To: Hi, I am trying to offlo