COSC-3P93-Project/Step 3/cmake-build-release-omp/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp

18 lines
609 B
C++
Raw Permalink Normal View History

#include <stdio.h>
#include <omp.h>
const char ompver_str[] = { 'I', 'N', 'F', 'O', ':', 'O', 'p', 'e', 'n', 'M',
'P', '-', 'd', 'a', 't', 'e', '[',
('0' + ((_OPENMP/100000)%10)),
('0' + ((_OPENMP/10000)%10)),
('0' + ((_OPENMP/1000)%10)),
('0' + ((_OPENMP/100)%10)),
('0' + ((_OPENMP/10)%10)),
('0' + ((_OPENMP/1)%10)),
']', '\0' };
int main(void)
{
puts(ompver_str);
return 0;
}