fatbinary --create="sgemm.fatbin" -64 --cicc-cmdline="-ftz=0 -prec_div=1 -prec_sqrt=1 -fmad=1 " "--image3=kind=elf,sm=70,file=newsgemm.sm_70.cubin" "--image3=kind=ptx,sm=70,file=sgemm.ptx" --embedded-fatbin="sgemm.fatbin.c" 
gcc -E -x c++ -D__CUDACC__ -D__NVCC__  "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=2 -D__CUDACC_VER_BUILD__=142 -D__CUDA_API_VER_MAJOR__=11 -D__CUDA_API_VER_MINOR__=2 -include "cuda_runtime.h" -m64 "sgemm.cu" -o "sgemm.cpp4.ii" 
cudafe++ --c++14 --gnu_version=80200 --orig_src_file_name "sgemm.cu" --allow_managed  --m64 --parse_templates --gen_c_file_name "sgemm.cudafe1.cpp" --stub_file_name "sgemm.cudafe1.stub.c" --module_id_file_name "sgemm.module_id" "sgemm.cpp4.ii" 
gcc -D__CUDA_ARCH__=700 -c -x c++  -DCUDA_DOUBLE_MATH_FUNCTIONS "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"   -m64 "sgemm.cudafe1.cpp" -o "sgemm.o" 
nvlink --arch=sm_70 --register-link-binaries="sgemm_dlink.reg.c"  -m64 -lcublas   "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib" -cpu-arch=X86_64 "sgemm.o"  -lcudadevrt  -o "sgemm_dlink.sm_70.cubin"
fatbinary --create="sgemm_dlink.fatbin" -64 --cicc-cmdline="-ftz=0 -prec_div=1 -prec_sqrt=1 -fmad=1 " -link "--image3=kind=elf,sm=70,file=sgemm_dlink.sm_70.cubin" --embedded-fatbin="sgemm_dlink.fatbin.c" 
gcc -c -x c++ -DFATBINFILE="\"sgemm_dlink.fatbin.c\"" -DREGISTERLINKBINARYFILE="\"sgemm_dlink.reg.c\"" -I. -D__NV_EXTRA_INITIALIZATION= -D__NV_EXTRA_FINALIZATION= -D__CUDA_INCLUDE_COMPILER_INTERNAL_HEADERS__  "-I/usr/local/cuda/bin/../targets/x86_64-linux/include"    -D__CUDACC_VER_MAJOR__=11 -D__CUDACC_VER_MINOR__=2 -D__CUDACC_VER_BUILD__=142 -D__CUDA_API_VER_MAJOR__=11 -D__CUDA_API_VER_MINOR__=2 -m64 "/usr/local/cuda/bin/crt/link.stub" -o "sgemm_dlink.o" 
g++ -m64 -Wl,--start-group "sgemm_dlink.o" "sgemm.o" -lcublas   "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/usr/local/cuda/bin/../targets/x86_64-linux/lib"  -lcudadevrt  -lcudart_static  -lrt -lpthread  -ldl  -Wl,--end-group -o "sgemm" 
