使用 make -n ,只打印命令但不执行命令时的输出如下,我们先只保留最初开始执行的部分进行分析,大部分主题的部分类似:

1,如下这些命令,类似模板,会生成对应的 s , d,c 类型的对应头文件;

./tools/codegen.py -p s include/magma_z.h
./tools/codegen.py -p d include/magma_z.h
./tools/codegen.py -p c include/magma_z.h

会对应生成 单精,双精,和 complex 类型的函数头文件:

magmablas_s.h

magmablas_d.h

magmablas_c.h

这样,程序员只需要写好Z类型的函数,其它类型的只做一些替换即可;

cp include/magma_config.h.in include/magma_config.h
sed -i -e 's/#cmakedefine MAGMA_CUDA_ARCH_MIN @MAGMA_CUDA_ARCH_MIN@/#define MAGMA_CUDA_ARCH_MIN 700/g' include/magma_config.h
sed -i -e 's/#cmakedefine MAGMA_HAVE_CUDA/#define MAGMA_HAVE_CUDA/g' include/magma_config.h
sed -i -e 's/#cmakedefine MAGMA_HAVE_HIP/#undef MAGMA_HAVE_HIP/g' include/magma_config.h
./tools/codegen.py -p s include/magma_z.h
./tools/codegen.py -p d include/magma_z.h
./tools/codegen.py -p c include/magma_z.h
./tools/codegen.py -p ds include/magma_zc.h
./tools/codegen.py -p s include/magmablas_z.h
./tools/codegen.py -p d include/magmablas_z.h
./tools/codegen.py -p c include/magmablas_z.h
./tools/codegen.py -p s include/magmablas_z_v1.h
./tools/codegen.py -p d include/magmablas_z_v1.h
./tools/codegen.py -p c include/magmablas_z_v1.h
./tools/codegen.py -p s include/magmablas_z_v1_map.h
./tools/codegen.py -p d include/magmablas_z_v1_map.h
./tools/codegen.py -p c include/magmablas_z_v1_map.h
./tools/codegen.py -p ds include/magmablas_zc.h
./tools/codegen.py -p ds include/magmablas_zc_v1.h
./tools/codegen.py -p ds include/magmablas_zc_v1_map.h
./tools/codegen.py -p s include/magma_zlapack.h
./tools/codegen.py -p d include/magma_zlapack.h
./tools/codegen.py -p c include/magma_zlapack.h
./tools/codegen.py -p s include/magma_zbulge.h
./tools/codegen.py -p d include/magma_zbulge.h
./tools/codegen.py -p c include/magma_zbulge.h
./tools/codegen.py -p s include/magma_zbulgeinc.h
./tools/codegen.py -p d include/magma_zbulgeinc.h
./tools/codegen.py -p c include/magma_zbulgeinc.h
./tools/codegen.py -p s include/magma_zgehrd_m.h
./tools/codegen.py -p d include/magma_zgehrd_m.h
./tools/codegen.py -p c include/magma_zgehrd_m.h
./tools/codegen.py -p s include/magma_zbatched.h
./tools/codegen.py -p d include/magma_zbatched.h
./tools/codegen.py -p c include/magma_zbatched.h
./tools/codegen.py -p s include/magma_zvbatched.h
./tools/codegen.py -p d include/magma_zvbatched.h
./tools/codegen.py -p c include/magma_zvbatched.h
./tools/codegen.py -p s testing/testing_z.h
./tools/codegen.py -p d testing/testing_z.h
./tools/codegen.py -p c testing/testing_z.h
./tools/codegen.py -p s magmablas/commonblas_z.h
./tools/codegen.py -p d magmablas/commonblas_z.h
./tools/codegen.py -p c magmablas/commonblas_z.h
./tools/codegen.py -p c magmablas/ztrtri.cuh
./tools/codegen.py -p d magmablas/ztrtri.cuh
./tools/codegen.py -p s magmablas/ztrtri.cuh
./tools/codegen.py -p c magmablas/ztrtri_lower_device.cuh
./tools/codegen.py -p d magmablas/ztrtri_lower_device.cuh
./tools/codegen.py -p s magmablas/ztrtri_lower_device.cuh
./tools/codegen.py -p c magmablas/ztrtri_upper_device.cuh
./tools/codegen.py -p d magmablas/ztrtri_upper_device.cuh
./tools/codegen.py -p s magmablas/ztrtri_upper_device.cuh
./tools/codegen.py -p c magmablas/zgerbt.h
./tools/codegen.py -p d magmablas/zgerbt.h
./tools/codegen.py -p s magmablas/zgerbt.h
./tools/codegen.py -p s magmablas/zpotf2_devicesfunc.cuh
./tools/codegen.py -p d magmablas/zpotf2_devicesfunc.cuh
./tools/codegen.py -p c magmablas/zpotf2_devicesfunc.cuh
./tools/codegen.py -p s magmablas/zlarfg_devicesfunc.cuh
./tools/codegen.py -p d magmablas/zlarfg_devicesfunc.cuh
./tools/codegen.py -p c magmablas/zlarfg_devicesfunc.cuh
./tools/codegen.py -p s magmablas/ztrsv_template_device.cuh
./tools/codegen.py -p d magmablas/ztrsv_template_device.cuh
./tools/codegen.py -p c magmablas/ztrsv_template_device.cuh
./tools/codegen.py -p s magmablas/zgetf2_devicefunc.cuh
./tools/codegen.py -p d magmablas/zgetf2_devicefunc.cuh
./tools/codegen.py -p c magmablas/zgetf2_devicefunc.cuh
./tools/codegen.py -p s magmablas/zlaswp_device.cuh
./tools/codegen.py -p d magmablas/zlaswp_device.cuh
./tools/codegen.py -p c magmablas/zlaswp_device.cuh
./tools/codegen.py -p s magmablas/zgeqr2_batched_fused.cuh
./tools/codegen.py -p d magmablas/zgeqr2_batched_fused.cuh
./tools/codegen.py -p c magmablas/zgeqr2_batched_fused.cuh
./tools/codegen.py -p s magmablas/zlarf_batched_fused.cuh
./tools/codegen.py -p d magmablas/zlarf_batched_fused.cuh
./tools/codegen.py -p c magmablas/zlarf_batched_fused.cuh
./tools/codegen.py -p s sparse/include/magmasparse_z.h
./tools/codegen.py -p d sparse/include/magmasparse_z.h
./tools/codegen.py -p c sparse/include/magmasparse_z.h
./tools/codegen.py -p ds sparse/include/magmasparse_zc.h
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/magma_f77.o control/magma_f77.cpp
cc -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c99 -c -o control/sizeptr.o control/sizeptr.c
touch control/sizeptr.o
cc -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c99 -fPIC                       -fopenmp -o control/sizeptr control/sizeptr.o
touch control/sizeptr
gfortran -O3 -fPIC -DNDEBUG -DADD_ -Wall -Wno-unused-dummy-argument -x f95-cpp-input  -I/usr/local/cuda/include -I./include -I./testing -I./control -Dmagma_devptr_t="integer(kind=8)" -c -o control/magma_param.o control/magma_param.F90
mv magma_param.mod include/
gfortran -O3 -fPIC -DNDEBUG -DADD_ -Wall -Wno-unused-dummy-argument -x f95-cpp-input  -I/usr/local/cuda/include -I./include -I./testing -I./control -I./control -Dmagma_devptr_t="integer(kind=8)" -c -o control/magma_zfortran.o control/magma_zfortran.F90
mv magma_zfortran.mod include/
gfortran -O3 -fPIC -DNDEBUG -DADD_ -Wall -Wno-unused-dummy-argument -x f95-cpp-input  -I/usr/local/cuda/include -I./include -I./testing -I./control -I./control -Dmagma_devptr_t="integer(kind=8)" -c -o control/magma_cfortran.o control/magma_cfortran.F90
mv magma_cfortran.mod include/
gfortran -O3 -fPIC -DNDEBUG -DADD_ -Wall -Wno-unused-dummy-argument -x f95-cpp-input  -I/usr/local/cuda/include -I./include -I./testing -I./control -I./control -Dmagma_devptr_t="integer(kind=8)" -c -o control/magma_dfortran.o control/magma_dfortran.F90
mv magma_dfortran.mod include/
gfortran -O3 -fPIC -DNDEBUG -DADD_ -Wall -Wno-unused-dummy-argument -x f95-cpp-input  -I/usr/local/cuda/include -I./include -I./testing -I./control -I./control -Dmagma_devptr_t="integer(kind=8)" -c -o control/magma_sfortran.o control/magma_sfortran.F90
mv magma_sfortran.mod include/
gfortran -O3 -fPIC -DNDEBUG -DADD_ -Wall -Wno-unused-dummy-argument -x f95-cpp-input  -I/usr/local/cuda/include -I./include -I./testing -I./control -I./control -Dmagma_devptr_t="integer(kind=8)" -c -o control/magmablas_zfortran.o control/magmablas_zfortran.F90
mv magmablas_zfortran.mod include/
gfortran -O3 -fPIC -DNDEBUG -DADD_ -Wall -Wno-unused-dummy-argument -x f95-cpp-input  -I/usr/local/cuda/include -I./include -I./testing -I./control -I./control -Dmagma_devptr_t="integer(kind=8)" -c -o control/magmablas_cfortran.o control/magmablas_cfortran.F90
mv magmablas_cfortran.mod include/
gfortran -O3 -fPIC -DNDEBUG -DADD_ -Wall -Wno-unused-dummy-argument -x f95-cpp-input  -I/usr/local/cuda/include -I./include -I./testing -I./control -I./control -Dmagma_devptr_t="integer(kind=8)" -c -o control/magmablas_dfortran.o control/magmablas_dfortran.F90
mv magmablas_dfortran.mod include/
gfortran -O3 -fPIC -DNDEBUG -DADD_ -Wall -Wno-unused-dummy-argument -x f95-cpp-input  -I/usr/local/cuda/include -I./include -I./testing -I./control -I./control -Dmagma_devptr_t="integer(kind=8)" -c -o control/magmablas_sfortran.o control/magmablas_sfortran.F90
mv magmablas_sfortran.mod include/
gfortran -O3 -fPIC -DNDEBUG -DADD_ -Wall -Wno-unused-dummy-argument -x f95-cpp-input  -I/usr/local/cuda/include -I./include -I./testing -I./control -Dmagma_devptr_t="integer(kind=8)" -c -o control/magma.o control/magma.F90
mv magma.mod include/
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/abs.o control/abs.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/affinity.o control/affinity.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/auxiliary.o control/auxiliary.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/constants.o control/constants.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/get_batched_crossover.o control/get_batched_crossover.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/get_batched_gemm_decision.o control/get_batched_gemm_decision.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/get_nb.o control/get_nb.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/get_ntcol.o control/get_ntcol.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/magma_bulge.o control/magma_bulge.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/magma_threadsetting.o control/magma_threadsetting.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/magma_timer.o control/magma_timer.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/magma_winthread.o control/magma_winthread.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/magma_yield.o control/magma_yield.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/magma_zauxiliary.o control/magma_zauxiliary.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/magma_zbulge.o control/magma_zbulge.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/magma_znan_inf.o control/magma_znan_inf.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/pthread_barrier.o control/pthread_barrier.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/sqrt.o control/sqrt.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/strlcpy.o control/strlcpy.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/thread_queue.o control/thread_queue.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/trace.o control/trace.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/xerbla.o control/xerbla.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/zpanel_to_q.o control/zpanel_to_q.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/zprint.o control/zprint.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/magma_sf77.o control/magma_sf77.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/magma_df77.o control/magma_df77.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/magma_cf77.o control/magma_cf77.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/magma_zf77.o control/magma_zf77.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/magmablas_sf77.o control/magmablas_sf77.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/magmablas_df77.o control/magmablas_df77.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/magmablas_cf77.o control/magmablas_cf77.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o control/magmablas_zf77.o control/magmablas_zf77.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/cblas_z.o src/cblas_z.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zcposv_gpu.o src/zcposv_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zposv_gpu.o src/zposv_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zpotrf_gpu.o src/zpotrf_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zpotri_gpu.o src/zpotri_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zpotrs_gpu.o src/zpotrs_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zlauum_gpu.o src/zlauum_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/ztrtri_gpu.o src/ztrtri_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zpotrf_mgpu.o src/zpotrf_mgpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zpotrf_mgpu_right.o src/zpotrf_mgpu_right.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zpotrf3_mgpu.o src/zpotrf3_mgpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zposv.o src/zposv.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zpotrf.o src/zpotrf.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zpotri.o src/zpotri.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zlauum.o src/zlauum.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/ztrtri.o src/ztrtri.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zpotrf_m.o src/zpotrf_m.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/shpotrf_gpu.o src/shpotrf_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/dfgmres_spd_gpu.o src/dfgmres_spd_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/dshposv_gmres_gpu.o src/dshposv_gmres_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zcgesv_gpu.o src/zcgesv_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zcgetrs_gpu.o src/zcgetrs_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/dgmres_plu_gpu.o src/dgmres_plu_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/dxgesv_gmres_gpu.o src/dxgesv_gmres_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/xshgetrf_gpu.o src/xshgetrf_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/xhsgetrf_gpu.o src/xhsgetrf_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgerfs_nopiv_gpu.o src/zgerfs_nopiv_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgesv_gpu.o src/zgesv_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgesv_nopiv_gpu.o src/zgesv_nopiv_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgetrf_gpu.o src/zgetrf_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgetrf_nopiv_gpu.o src/zgetrf_nopiv_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgetri_gpu.o src/zgetri_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgetrs_gpu.o src/zgetrs_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgetrs_nopiv_gpu.o src/zgetrs_nopiv_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgetrf_mgpu.o src/zgetrf_mgpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgetrf2_mgpu.o src/zgetrf2_mgpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgerbt_gpu.o src/zgerbt_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgesv.o src/zgesv.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgesv_rbt.o src/zgesv_rbt.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgetrf.o src/zgetrf.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgetf2_nopiv.o src/zgetf2_nopiv.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgetrf_nopiv.o src/zgetrf_nopiv.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgetrf_m.o src/zgetrf_m.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zcgeqrsv_gpu.o src/zcgeqrsv_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgelqf_gpu.o src/zgelqf_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgels3_gpu.o src/zgels3_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgels_gpu.o src/zgels_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgegqr_gpu.o src/zgegqr_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgeqrf2_gpu.o src/zgeqrf2_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgeqrf3_gpu.o src/zgeqrf3_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgeqrf_gpu.o src/zgeqrf_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgeqr2x_gpu.o src/zgeqr2x_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgeqr2x_gpu-v2.o src/zgeqr2x_gpu-v2.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgeqr2x_gpu-v3.o src/zgeqr2x_gpu-v3.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgeqrs3_gpu.o src/zgeqrs3_gpu.cpp
g++ -O3 -fPIC -DNDEBUG -DADD_ -Wall -fopenmp -std=c++11  -I/usr/local/cuda/include -I./include -I./testing -I./control -c -o src/zgeqrs_gpu.o src/zgeqrs_gpu.cpp

magma build system 分析 —— Makefile 篇 02 记相关推荐

  1. 尚硅谷 宋红康 JVM教程_01_内存与垃圾回收篇——02

    本系列相关链接 尚硅谷 宋红康 JVM教程_01_内存与垃圾回收篇--01 (20210103-20210110) https://blog.csdn.net/wei198621/article/de ...

  2. SAP PP COR2下达工单系统报错说-系统状态APNG是激活的- 分析第二篇

    SAP PP COR2下达工单系统报错说-系统状态APNG是激活的- 分析第二篇 笔者所在的项目上启用了ECM(Engineer Change Management)功能,重要数据的修改都要事先创建一 ...

  3. Mastering Android NDK Build System - Part 1: Techniques with ndk-build

    This article is not a "Hello world!"-type tutorial for NDK. Although I will still provide ...

  4. python深浅拷贝 面试_Python面试宝典之基础篇-02

    原标题:Python面试宝典之基础篇-02 我觉得你如果正在找工作,我的Python面试宝典几期教程,你一定得花时间看完了! 题目006:说说Python中的浅拷贝和深拷贝. 点评:这个题目本身出现的 ...

  5. asp.net mvc源码分析-Action篇 Action的执行

    接着上篇 asp.net mvc源码分析-Action篇 DefaultModelBinder 我们已经获取的了Action的参数,有前面的内容我们知道Action的调用时在ControllerAct ...

  6. android 电量管理机制,电池电量分析---android篇

    原标题:电池电量分析---android篇 本文将从底层到上层介绍Android系统中电量显示这一块,电池检测采用的是ADC采样,不是使用市场上封装好的电量计芯片: 1.驱动层 Linux内核中提供p ...

  7. 分析万篇途牛旅游游记为你挑选最佳旅游景点

    分析万篇途牛旅游游记为你挑选最佳旅游景点 数据采集 分析主页面 分析子页面 爬虫设计 主页面数据采集 子页面数据采集 合并数据集 数据分析及可视化 旅游热门地点TOP10 驴友出行特点 出行季节 热门 ...

  8. 算法设计与分析入门篇----贪心法3

    正在网易云课堂学习王宏志老师的算法设计与分析入门篇课程视频,将学习中的作业问题发上来与大家一同讨论.这篇是对第五周的作业第三题个人的一些思路,希望与大家一同学习. 课程调度 题目内容: 有 n 个人, ...

  9. 边实验边分析-NDK篇-abiFilters配置分析

    边实验边分析-NDK篇-abiFilters配置分析 首先我们需要了解一个行为,NDK会对我们的原生代码进行构建,针对不同的操作系统架构,生成不同的ABI(应用程序二进制接口)的so库,并将构建生成的 ...

最新文章

  1. FPGA的设计艺术(16)逻辑设计中无刻不在的判断之if/case语句
  2. android危险权限分组,Android 6.0权限请求相关及权限分组方法
  3. 条件队列大法好:wait和notify的基本语义
  4. Python特殊语法:filter、map、reduce、lambda
  5. Nacos分布式应用配置管理
  6. SQLserver语句命令
  7. ubuntu 软件包管理工具 dpkg,apt-get,aptitude 区别
  8. Exchange系列—群集连续复制配置
  9. DWZUI(1.3)框架中遇到的两个问题
  10. OD使用教程21(上) - 调试篇21
  11. 聊聊 Java 中 HashMap 初始化的另一种方式
  12. zabbix 添加 host item
  13. YYKit-YYDispatchQueuePool分析
  14. 【C 语言】文件操作 ( 使用 fseek 函数生成指定大小文件 | 偏移量 文件字节数 - 1 )
  15. Java实现杨辉三角形
  16. DSP28035的CLA使用经验
  17. 立波 iphone3gs越狱教程:成功把iphone3gs手机升级成ios6.1.3系统,完美解决no service和耗电量大的问题...
  18. 1.《如何阅读一本书》读书若谈恋爱:如何阅读一本书?
  19. 让Linux内核不再卡死在DHCP请求上
  20. C++开发斗地主(QT)第三篇之动画发牌与位置计算

热门文章

  1. ERROR: cannot download default sources list from
  2. Java进阶:基于TCP的网络实时聊天室(socket通信案例)
  3. 1秒找回你的童年,小霸王其乐无穷啊,免费领取!速度了!
  4. A8Jr的XP版驱动程序
  5. 计算机模拟分子药物设计书籍,计算机分子模拟技术在药物设计中的应用
  6. 类似余额宝数值增加的动画
  7. 文件IO实现图片的加密操作
  8. 前端 vue 二维码解析工具
  9. NIO的原理和文件读入读出及图片拷贝的使用
  10. 【Rust日报】2021-10-05 Mimic: 一款用Rust语言编写的命令行Gameboy模拟器