We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fc66a0e + 354a976 commit ce6317fCopy full SHA for ce6317f
common.h
@@ -642,19 +642,23 @@ void gotoblas_profile_init(void);
642
void gotoblas_profile_quit(void);
643
644
#ifdef USE_OPENMP
645
+
646
#ifndef C_MSVC
647
int omp_in_parallel(void);
648
int omp_get_num_procs(void);
649
#else
650
__declspec(dllimport) int __cdecl omp_in_parallel(void);
651
__declspec(dllimport) int __cdecl omp_get_num_procs(void);
652
#endif
653
654
#if (__STDC_VERSION__ >= 201112L)
655
+#include <stdatomic.h>
656
+#else
657
#ifndef _Atomic
658
#define _Atomic volatile
659
-#include <stdatomic.h>
660
661
662
663
#ifdef __ELF__
664
int omp_in_parallel (void) __attribute__ ((weak));
0 commit comments