mirror of
https://github.com/clang-retro/llvm.git
synced 2026-12-03 23:59:10 -08:00
This patch implements omp_get_device_num() in the host and the device. It uses the already existing getDeviceNum in the device config for the device. And in the host it uses the omp_get_num_devices(). Two simple tests added Differential Revision: https://reviews.llvm.org/D128347