Skip to content

Commit 458e3af

Browse files
authored
Merge pull request #1555 from WestAlgo/develop
Change _STDC_VERSION__ to __STDC_VERSION__
2 parents 50acc40 + 3716267 commit 458e3af

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

driver/level3/level3_gemm3m_thread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
#endif
9292

9393
typedef struct {
94-
#if _STDC_VERSION__ >= 201112L
94+
#if __STDC_VERSION__ >= 201112L
9595
_Atomic
9696
#else
9797
volatile

driver/level3/level3_syrk_threaded.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
#endif
6868

6969
typedef struct {
70-
#if _STDC_VERSION__ >= 201112L
70+
#if __STDC_VERSION__ >= 201112L
7171
_Atomic
7272
#else
7373
volatile

driver/level3/level3_thread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
#endif
9292

9393
typedef struct {
94-
#if _STDC_VERSION__ >= 201112L
94+
#if __STDC_VERSION__ >= 201112L
9595
_Atomic
9696
#else
9797
volatile

driver/others/blas_server_omp.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
/* or implied, of The University of Texas at Austin. */
3737
/*********************************************************************/
3838

39-
#if _STDC_VERSION__ >= 201112L
39+
#if __STDC_VERSION__ >= 201112L
4040
#ifndef _Atomic
4141
#define _Atomic volatile
4242
#endif
@@ -57,7 +57,7 @@
5757
int blas_server_avail = 0;
5858

5959
static void * blas_thread_buffer[MAX_PARALLEL_NUMBER][MAX_CPU_NUMBER];
60-
#if _STDC_VERSION__ >= 201112L
60+
#if __STDC_VERSION__ >= 201112L
6161
static atomic_bool blas_buffer_inuse[MAX_PARALLEL_NUMBER];
6262
#else
6363
static _Bool blas_buffer_inuse[MAX_PARALLEL_NUMBER];
@@ -322,7 +322,7 @@ int exec_blas(BLASLONG num, blas_queue_t *queue){
322322

323323
while(true) {
324324
for(i=0; i < MAX_PARALLEL_NUMBER; i++) {
325-
#if _STDC_VERSION__ >= 201112L
325+
#if __STDC_VERSION__ >= 201112L
326326
_Bool inuse = false;
327327
if(atomic_compare_exchange_weak(&blas_buffer_inuse[i], &inuse, true)) {
328328
#else
@@ -347,7 +347,7 @@ int exec_blas(BLASLONG num, blas_queue_t *queue){
347347
exec_threads(&queue[i], buf_index);
348348
}
349349

350-
#if _STDC_VERSION__ >= 201112L
350+
#if __STDC_VERSION__ >= 201112L
351351
atomic_store(&blas_buffer_inuse[buf_index], false);
352352
#else
353353
blas_buffer_inuse[buf_index] = false;

lapack/getrf/getrf_parallel.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ static void inner_basic_thread(blas_arg_t *args, BLASLONG *range_m, BLASLONG *ra
119119
FLOAT *d = (FLOAT *)args -> b + (k + k * lda) * COMPSIZE;
120120
FLOAT *sbb = sb;
121121

122-
#if _STDC_VERSION__ >= 201112L
122+
#if __STDC_VERSION__ >= 201112L
123123
_Atomic BLASLONG *flag = (_Atomic BLASLONG *)args -> d;
124124
#else
125125
volatile BLASLONG *flag = (volatile BLASLONG *)args -> d;
@@ -201,7 +201,7 @@ static void inner_basic_thread(blas_arg_t *args, BLASLONG *range_m, BLASLONG *ra
201201
/* Non blocking implementation */
202202

203203
typedef struct {
204-
#if _STDC_VERSION__ >= 201112L
204+
#if __STDC_VERSION__ >= 201112L
205205
_Atomic
206206
#else
207207
volatile
@@ -246,7 +246,7 @@ static int inner_advanced_thread(blas_arg_t *args, BLASLONG *range_m, BLASLONG *
246246

247247
blasint *ipiv = (blasint *)args -> c;
248248
BLASLONG jw;
249-
#if _STDC_VERSION__ >= 201112L
249+
#if __STDC_VERSION__ >= 201112L
250250
_Atomic BLASLONG *flag = (_Atomic BLASLONG *)args -> d;
251251
#else
252252
volatile BLASLONG *flag = (volatile BLASLONG *)args -> d;
@@ -452,7 +452,7 @@ blasint CNAME(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, FLOAT *sa,
452452
#ifdef _MSC_VER
453453
BLASLONG flag[MAX_CPU_NUMBER * CACHE_LINE_SIZE];
454454
#else
455-
#if _STDC_VERSION__ >= 201112L
455+
#if __STDC_VERSION__ >= 201112L
456456
_Atomic
457457
#else
458458
volatile
@@ -728,7 +728,7 @@ blasint CNAME(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, FLOAT *sa,
728728
BLASLONG range[MAX_CPU_NUMBER + 1];
729729

730730
BLASLONG width, nn, num_cpu;
731-
#if _STDC_VERSION__ >= 201112L
731+
#if __STDC_VERSION__ >= 201112L
732732
_Atomic
733733
#else
734734
volatile

lapack/getrf/potrf_parallel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ static FLOAT dm1 = -1.;
101101
#endif
102102

103103
typedef struct {
104-
#if _STDC_VERSION__ >= 201112L
104+
#if __STDC_VERSION__ >= 201112L
105105
_Atomic
106106
#else
107107
volatile

0 commit comments

Comments
 (0)