This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
OSchip
/
OpenBLAS
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
66
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
move _Atomic define to common.h
tags/v0.3.0^2
zhiyong.dang
7 years ago
parent
458e3af5b1
commit
53457f222f
2 changed files
with
6 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-0
common.h
+0
-6
driver/others/blas_server_omp.c
+ 6
- 0
common.h
View File
@@ -649,6 +649,12 @@ int omp_get_num_procs(void);
__declspec(dllimport) int __cdecl omp_in_parallel(void);
__declspec(dllimport) int __cdecl omp_get_num_procs(void);
#endif
#if (__STDC_VERSION__ >= 201112L)
#ifndef _Atomic
#define _Atomic volatile
#endif
#include <stdatomic.h>
#endif
#else
#ifdef __ELF__
int omp_in_parallel (void) __attribute__ ((weak));
+ 0
- 6
driver/others/blas_server_omp.c
View File
@@ -36,12 +36,6 @@
/* or implied, of The University of Texas at Austin. */
/*********************************************************************/
#if __STDC_VERSION__ >= 201112L
#ifndef _Atomic
#define _Atomic volatile
#endif
#include <stdatomic.h>
#endif
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
Write
Preview
Loading…
Cancel
Save