☰
Debian Codegraph
@
4.3.4-1
/
/
Tests
/
FindOpenMP
/
Test
/
main.c
☽
☼
Tests/FindOpenMP/Test/main.c
code
plain
raw
BSD-3-clause
2000-2025 Kitware, Inc. and Contributors
debian/copyright
1
#include <omp.h>
2
int main(void)
3
{
4
#ifdef _OPENMP
5
omp_get_num_threads();
6
#elif !defined(__CUDA_ARCH__) && !defined(__HIP_DEVICE_COMPILE__)
7
# error "_OPENMP not defined!"
8
#endif
9
return 0;
10
}