llvm-project/openmp/runtime/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
..
has_openmp.c
kmp_aligned_malloc.c
kmp_set_defaults_lock_bug.c
omp_aligned_alloc.c [OpenMP] libomp: add OpenMP 5.1 memory allocation routines. 2021-10-11 19:25:00 +03:00
omp_aligned_calloc.c [OpenMP] libomp: add OpenMP 5.1 memory allocation routines. 2021-10-11 19:25:00 +03:00
omp_alloc_def_fb.c
omp_alloc_hbw.c
omp_alloc_null_fb.c
omp_calloc_def_fb.c
omp_calloc_size_0.c
omp_deprecated.c
omp_display_env0.c
omp_get_device_num.c [OpenMP] Implementing omp_get_device_num() 2022-06-29 02:18:21 -05:00
omp_get_num_devices.c [OpenMP][Tests][NFC] Mark tests trying to link COI as unsupported 2021-10-25 18:20:12 +02:00
omp_get_num_threads.c
omp_get_wtick.c
omp_get_wtime.c [OpenMP][Tests] Test omp_get_wtime for invariants 2021-10-25 18:20:59 +02:00
omp_in_explicit_task.c [OpenMP] libomp: omp_in_explicit_task() implemented. 2022-03-05 21:46:39 +03:00
omp_in_parallel.c
omp_nteams_api.c
omp_nteams_api_env.c
omp_nteams_api_env2.c
omp_pause_resource.c [OpenMP][Tests][NFC] Mark tests trying to link COI as unsupported 2021-10-25 18:20:12 +02:00
omp_realloc_def_fb.c
omp_realloc_null_ptr.c
omp_realloc_size_0.c