Home
last modified time | relevance | path

Searched refs:num_devices (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/openmp/libomptarget/test/api/
H A Domp_get_num_devices.c9 int num_devices = omp_get_num_devices(); in test_omp_get_num_devices() local
10 printf("num_devices = %d\n", num_devices); in test_omp_get_num_devices()
15 return (num_devices > 0); in test_omp_get_num_devices()
/llvm-project-15.0.7/openmp/libomptarget/test/offloading/
H A Dd2d_memcpy.c12 const int num_devices = omp_get_num_devices(); in main() local
15 if (num_devices == 0) { in main()
21 int dst_device = num_devices - 1; in main()
/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() local
13 return (num_devices == 0); in test_omp_get_num_devices()
/llvm-project-15.0.7/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformAppleSimulator.cpp99 const size_t num_devices = devices.GetNumDevices(); in GetStatus() local
100 if (num_devices) { in GetStatus()
102 for (size_t i = 0; i < num_devices; ++i) { in GetStatus()