llvm-project/openmp/runtime/test
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
..
affinity [OpenMP][libomp] Introduce oneAPI compiler support 2022-02-14 14:10:33 -06:00
api [OpenMP] Implementing omp_get_device_num() 2022-06-29 02:18:21 -05:00
atomic [OpenMP][Clang] Fix atomic compare for signed vs. unsigned 2022-05-30 11:02:20 -04:00
barrier [OpenMP] libomp: Add new experimental barrier: two-level distributed barrier 2021-07-29 14:09:26 -05:00
critical [OpenMP][Tests][NFC] Mark tests trying to link COI as unsupported 2021-10-25 18:20:12 +02:00
env [OpenMP] libomp: fix dynamic loop dispatcher 2021-06-22 16:29:01 +03:00
flush
lock
master
misc_bugs [OpenMP][Tests] Fix compiler warnings in OpenMP runtime tests 2020-11-11 20:13:21 +01:00
ompt [OpenMP] Possible fix for sporadic test failure from loop_dispatch.c 2022-05-03 14:46:32 -05:00
parallel
tasking [OpenMP] libomp: implemented task priorities. 2022-03-07 22:24:18 +03:00
teams [OpenMP] Extend omp teams to permit nested omp atomic 2022-05-26 14:59:16 -04:00
threadprivate
worksharing [OpenMP][Tests][NFC] Replace atomic increment by reduction 2021-10-25 18:20:12 +02:00
CMakeLists.txt [OpenMP][libomp] Introduce oneAPI compiler support 2022-02-14 14:10:33 -06:00
lit.cfg [OpenMP][libomp] Introduce oneAPI compiler support 2022-02-14 14:10:33 -06:00
lit.site.cfg.in [OpenMP][libomp] Introduce oneAPI compiler support 2022-02-14 14:10:33 -06:00
omp_my_sleep.h
omp_testsuite.h [OpenMP][libomp] Introduce oneAPI compiler support 2022-02-14 14:10:33 -06:00