There is a typo in DeviceRTLTy::getNumOfDevices that the type of its return value is bool. It will lead to a problem of wrong device number returned from omp_get_num_devices.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Differential D79255
[OpenMP] Fix an issue of wrong return type of DeviceRTLTy::getNumOfDevices tianshilei1992 on May 1 2020, 12:11 PM. Authored by
Details There is a typo in DeviceRTLTy::getNumOfDevices that the type of its return value is bool. It will lead to a problem of wrong device number returned from omp_get_num_devices.
Diff Detail
|