![]() 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 |
||
---|---|---|
.. | ||
is_initial_device.c | ||
omp_device_managed_memory.c | ||
omp_device_managed_memory_alloc.c | ||
omp_device_memory.c | ||
omp_dynamic_shared_memory.c | ||
omp_dynamic_shared_memory_amdgpu.c | ||
omp_get_device_num.c | ||
omp_get_num_devices.c | ||
omp_get_num_devices_with_empty_target.c | ||
omp_host_pinned_memory.c | ||
omp_host_pinned_memory_alloc.c |