change add model to model editor
This commit is contained in:
17
build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp
Normal file
17
build/CMakeFiles/FindOpenMP/OpenMPCheckVersion.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
#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;
|
||||
}
|
10
build/CMakeFiles/FindOpenMP/OpenMPTryFlag.cpp
Normal file
10
build/CMakeFiles/FindOpenMP/OpenMPTryFlag.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
#include <omp.h>
|
||||
int main(void) {
|
||||
#ifdef _OPENMP
|
||||
omp_get_max_threads();
|
||||
return 0;
|
||||
#else
|
||||
breaks_on_purpose
|
||||
#endif
|
||||
}
|
BIN
build/CMakeFiles/FindOpenMP/ompver_CXX.bin
Executable file
BIN
build/CMakeFiles/FindOpenMP/ompver_CXX.bin
Executable file
Binary file not shown.
Reference in New Issue
Block a user