Skip to content

Commit d3ff1f8

Browse files
authored
Convert ifndefs to ifneq
1 parent 65eb7af commit d3ff1f8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

driver/level3/Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ ifdef SMP
206206
COMMONOBJS += gemm_thread_m.$(SUFFIX) gemm_thread_n.$(SUFFIX) gemm_thread_mn.$(SUFFIX) gemm_thread_variable.$(SUFFIX)
207207
COMMONOBJS += syrk_thread.$(SUFFIX)
208208

209-
ifndef USE_SIMPLE_THREADED_LEVEL3
209+
ifneq ($(USE_SIMPLE_THREADED_LEVEL3), 1)
210210
ifeq ($(BUILD_BFLOAT16),1)
211211
SBBLASOBJS += sbgemm_thread_nn.$(SUFFIX) sbgemm_thread_nt.$(SUFFIX) sbgemm_thread_tn.$(SUFFIX) sbgemm_thread_tt.$(SUFFIX)
212212
endif
@@ -282,7 +282,7 @@ HPLOBJS = \
282282
dtrsm_RNUU.$(SUFFIX) dtrsm_RNUN.$(SUFFIX) dtrsm_RNLU.$(SUFFIX) dtrsm_RNLN.$(SUFFIX) \
283283
dtrsm_RTUU.$(SUFFIX) dtrsm_RTUN.$(SUFFIX) dtrsm_RTLU.$(SUFFIX) dtrsm_RTLN.$(SUFFIX)
284284

285-
ifndef USE_SIMPLE_THREADED_LEVEL3
285+
ifneq ($(USE_SIMPLE_THREADED_LEVEL3), 1)
286286
HPLOBJS += dgemm_thread_nn.$(SUFFIX) dgemm_thread_nt.$(SUFFIX) \
287287
dgemm_thread_tn.$(SUFFIX) dgemm_thread_tt.$(SUFFIX)
288288
endif
@@ -297,13 +297,13 @@ ifeq ($(BUILD_DOUBLE),1)
297297
strsm_RTUU.$(SUFFIX) strsm_RTUN.$(SUFFIX) strsm_RTLU.$(SUFFIX) strsm_RTLN.$(SUFFIX) \
298298
ssyrk_UN.$(SUFFIX) ssyrk_UT.$(SUFFIX) ssyrk_LN.$(SUFFIX) ssyrk_LT.$(SUFFIX) \
299299
ssyrk_kernel_U.$(SUFFIX) ssyrk_kernel_L.$(SUFFIX)
300-
ifndef USE_SIMPLE_THREADED_LEVEL3
300+
ifneq ($(USE_SIMPLE_THREADED_LEVEL3), 1)
301301
SBLASOBJS += ssyrk_thread_UN.$(SUFFIX) ssyrk_thread_UT.$(SUFFIX) ssyrk_thread_LN.$(SUFFIX) ssyrk_thread_LT.$(SUFFIX)
302302
endif
303303
endif
304304
ifeq ($(BUILD_COMPLEX),1)
305305
SBLASOBJS = sgemm_nn.$(SUFFIX) sgemm_nt.$(SUFFIX) sgemm_tn.$(SUFFIX) sgemm_tt.$(SUFFIX)
306-
ifndef USE_SIMPLE_THREADED_LEVEL3
306+
ifneq ($(USE_SIMPLE_THREADED_LEVEL3), 1)
307307
SBLASOBJS += sgemm_thread_nn.$(SUFFIX) sgemm_thread_nt.$(SUFFIX) sgemm_thread_tn.$(SUFFIX) sgemm_thread_tt.$(SUFFIX)
308308
endif
309309
endif
@@ -312,7 +312,7 @@ ifneq ($(BUILD_DOUBLE),1)
312312
DBLASOBJS=
313313
ifeq ($(BUILD_COMPLEX16),1)
314314
DBLASOBJS = dgemm_nn.$(SUFFIX) dgemm_nt.$(SUFFIX) dgemm_tn.$(SUFFIX) dgemm_tt.$(SUFFIX)
315-
ifndef USE_SIMPLE_THREADED_LEVEL3
315+
ifneq ($(USE_SIMPLE_THREADED_LEVEL3), 1)
316316
DBLASOBJS += dgemm_thread_nn.$(SUFFIX) dgemm_thread_nt.$(SUFFIX) dgemm_thread_tn.$(SUFFIX) dgemm_thread_tt.$(SUFFIX)
317317
endif
318318
endif
@@ -332,7 +332,7 @@ ifeq ($(BUILD_COMPLEX16),1)
332332
ctrsm_RTUU.$(SUFFIX) ctrsm_RTUN.$(SUFFIX) ctrsm_RTLU.$(SUFFIX) ctrsm_RTLN.$(SUFFIX) \
333333
ctrsm_RRUU.$(SUFFIX) ctrsm_RRUN.$(SUFFIX) ctrsm_RRLU.$(SUFFIX) ctrsm_RRLN.$(SUFFIX) \
334334
ctrsm_RCUU.$(SUFFIX) ctrsm_RCUN.$(SUFFIX) ctrsm_RCLU.$(SUFFIX) ctrsm_RCLN.$(SUFFIX)
335-
ifndef USE_SIMPLE_THREADED_LEVEL3
335+
ifneq ($(USE_SIMPLE_THREADED_LEVEL3), 1)
336336
CBLASOBJS += cherk_thread_UN.$(SUFFIX) cherk_thread_UC.$(SUFFIX) cherk_thread_LN.$(SUFFIX) cherk_thread_LC.$(SUFFIX)
337337
endif
338338
endif

0 commit comments

Comments
 (0)