Home
last modified time | relevance | path

Searched refs:omp_get_num_devices (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/openmp/libomptarget/test/api/
H A Domp_get_num_devices_with_empty_target.c8 return omp_get_num_devices() > 0; in test_omp_get_num_devices_with_empty_target()
H A Domp_get_num_devices.c9 int num_devices = omp_get_num_devices(); in test_omp_get_num_devices()
H A Domp_get_device_num.c15 return (device_num == omp_get_num_devices()); in test_omp_get_device_num()
/llvm-project-15.0.7/openmp/runtime/test/api/
H A Domp_get_num_devices.c11 int num_devices = omp_get_num_devices(); in test_omp_get_num_devices()
H A Domp_get_device_num.c13 return (device_num == omp_get_num_devices()); in test_omp_get_device_num()
/llvm-project-15.0.7/openmp/libomptarget/tools/deviceinfo/
H A Dllvm-omp-device-info.cpp22 for (int Dev = 0; Dev < omp_get_num_devices(); Dev++) { in main()
/llvm-project-15.0.7/openmp/libomptarget/src/
H A Dexports33 omp_get_num_devices;
H A Dapi.cpp22 EXTERN int omp_get_num_devices(void) { in omp_get_num_devices() function
44 int HostDevice = omp_get_num_devices(); in omp_get_initial_device()
H A Domptarget.cpp256 if (omp_get_num_devices() > 0) { in handleDefaultTargetOffload()
298 if (omp_get_num_devices() == 0) { in checkDeviceAndCtors()
/llvm-project-15.0.7/openmp/libomptarget/test/offloading/
H A Dd2d_memcpy.c12 const int num_devices = omp_get_num_devices(); in main()
/llvm-project-15.0.7/flang/module/
H A Domp_lib.h300 function omp_get_num_devices() bind(c)
302 integer(kind=omp_integer_kind) :: omp_get_num_devices
303 end function omp_get_num_devices
/llvm-project-15.0.7/openmp/libomptarget/test/unified_shared_memory/
H A Dapi.c44 printf("Num devices: %d\n", omp_get_num_devices()); in main()
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/include/
H A DInterface.h127 int omp_get_num_devices(void);
/llvm-project-15.0.7/openmp/libomptarget/include/
H A Domptarget.h225 int omp_get_num_devices(void);
/llvm-project-15.0.7/openmp/runtime/src/include/
H A Domp_lib.h.var435 function omp_get_num_devices() bind(c)
437 integer (kind=omp_integer_kind) omp_get_num_devices
438 end function omp_get_num_devices
1001 !DIR$ ATTRIBUTES OFFLOAD:MIC :: omp_get_num_devices
1084 !$omp declare target(omp_get_num_devices )
H A Domp_lib.f90.var336 function omp_get_num_devices() bind(c)
338 integer (kind=omp_integer_kind) omp_get_num_devices
339 end function omp_get_num_devices
H A Domp.h.var135 extern int __KAI_KMPC_CONVENTION omp_get_num_devices (void);
/llvm-project-15.0.7/openmp/libomptarget/DeviceRTL/src/
H A DState.cpp384 int omp_get_num_devices(void) { return config::getNumDevices(); } in omp_get_num_devices() function
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_ftn_os.h97 #define FTN_GET_NUM_DEVICES omp_get_num_devices
H A Ddllexports499 omp_get_num_devices 881
/llvm-project-15.0.7/llvm/test/Transforms/OpenMP/
H A Dadd_attributes.ll157 %call21 = call i32 @omp_get_num_devices()
391 declare dso_local i32 @omp_get_num_devices()
795 ; CHECK: declare dso_local i32 @omp_get_num_devices()
1335 ; OPTIMISTIC: declare dso_local i32 @omp_get_num_devices()