llvm-project/openmp/libomptarget/test/api
Jose M Monsalve Diaz 616dd9ae14 [OpenMP] Implementing omp_get_device_num()
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
2022-06-29 02:18:21 -05:00
..
is_initial_device.c
omp_device_managed_memory.c [libomptarget] Add support for target memory allocators to cuda RTL 2021-05-07 10:27:02 -04:00
omp_device_managed_memory_alloc.c [OpenMP] Change target memory tests to use allocators 2022-04-07 14:23:14 -04:00
omp_device_memory.c [OpenMP] Change target memory tests to use allocators 2022-04-07 14:23:14 -04:00
omp_dynamic_shared_memory.c [OpenMP] Add dynamic memory function to omp.h and add documentation 2022-04-07 14:23:23 -04:00
omp_dynamic_shared_memory_amdgpu.c [Libomptarget] Add basic support for dynamic shared memory on AMDGPU 2022-06-01 13:32:50 -04:00
omp_get_device_num.c [OpenMP] Implementing omp_get_device_num() 2022-06-29 02:18:21 -05:00
omp_get_num_devices.c
omp_get_num_devices_with_empty_target.c
omp_host_pinned_memory.c [libomptarget] Add support for target memory allocators to cuda RTL 2021-05-07 10:27:02 -04:00
omp_host_pinned_memory_alloc.c [OpenMP] Change target memory tests to use allocators 2022-04-07 14:23:14 -04:00