2 EXE = ztrsm_test
4 include ../make.inc
6 $(EXE): ztrsm_test.o
7 $(CC) $(CFLAGS) ztrsm_test.o $(LD_FLAGS) $(BLASLIB) -o $@
9 run: ARMtest DSPtest OPTtest
11 ARMtest: $(EXE)
12 @echo "Forcing BLAS level 3 execution on ARM."; \
13 export TI_CBLAS_OFFLOAD=000; \
14 ./$(EXE); \
15 cp ztrsm_time.dat ztrsm_time_ARM.dat; cp ztrsm_gflops.dat ztrsm_gflops_ARM.dat;
17 DSPtest: $(EXE)
18 @echo "Forcing BLAS level 3 execution on DSP."; \
19 export TI_CBLAS_OFFLOAD=001; \
20 ./$(EXE); \
21 cp ztrsm_time.dat ztrsm_time_DSP.dat; cp ztrsm_gflops.dat ztrsm_gflops_DSP.dat;
23 OPTtest: $(EXE)
24 @echo "Optimal BLAS level 3 execution on ARM or DSP."; \
25 export TI_CBLAS_OFFLOAD=002; \
26 ./$(EXE); \
27 cp ztrsm_time.dat ztrsm_time_OPT.dat; cp ztrsm_gflops.dat ztrsm_gflops_OPT.dat;