change add model to model editor

This commit is contained in:
2020-06-09 14:07:18 +08:00
parent b82890035b
commit 5b2f401728
44 changed files with 6161 additions and 114 deletions

View 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;
}

View File

@@ -0,0 +1,10 @@
#include <omp.h>
int main(void) {
#ifdef _OPENMP
omp_get_max_threads();
return 0;
#else
breaks_on_purpose
#endif
}

Binary file not shown.