├── .gitattributes ├── README.md ├── bangBN ├── Makefile ├── bn_main.cpp ├── bn_main.o ├── bn_ops.cpp ├── bn_ops.o ├── cnrt_data.h ├── inputbn.txt ├── inputbn1.txt ├── kernel_bn - 副本.mlu.cpp ├── kernel_bn.mlu ├── kernel_bn.o ├── marco.h ├── test └── test_result ├── bangCosine ├── Makefile ├── cnrt_data.h ├── cosine_main.cpp ├── cosine_main.o ├── cosine_ops.cpp ├── cosine_ops.o ├── input1.txt ├── input2.txt ├── kernel_cosine - 副本.mlu.cpp ├── kernel_cosine.mlu ├── kernel_cosine.o ├── marco.h ├── test └── test_result ├── bangPowerXY ├── Makefile ├── cnrt_data.h ├── kernel_powerxy.mlu ├── kernel_powerxy.o ├── marco.h ├── pow_out_cpu.txt ├── pow_x.txt ├── pow_y.txt ├── powerxy_main.cpp ├── powerxy_main.o ├── powerxy_ops.cpp ├── powerxy_ops.o └── test ├── bangSoftmax ├── Makefile ├── cnrt_data.h ├── inputsoftmax.txt ├── kernel_softmax - 副本.mlu ├── kernel_softmax-2.mlu ├── kernel_softmax.mlu ├── softmax_main.cpp └── softmax_ops.cpp └── bangTripletloss ├── Makefile ├── cnrt_data.h ├── inputa.txt ├── inputn.txt ├── inputp.txt ├── kernel_tripletloss - 副本.mlu.cpp ├── kernel_tripletloss.mlu ├── kernel_tripletloss.o ├── marco.h ├── result.txt ├── test ├── tripletloss_main.cpp ├── tripletloss_main.o ├── tripletloss_ops.cpp └── tripletloss_ops.o /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/.gitattributes -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/README.md -------------------------------------------------------------------------------- /bangBN/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangBN/Makefile -------------------------------------------------------------------------------- /bangBN/bn_main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangBN/bn_main.cpp -------------------------------------------------------------------------------- /bangBN/bn_main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangBN/bn_main.o -------------------------------------------------------------------------------- /bangBN/bn_ops.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangBN/bn_ops.cpp -------------------------------------------------------------------------------- /bangBN/bn_ops.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangBN/bn_ops.o -------------------------------------------------------------------------------- /bangBN/cnrt_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangBN/cnrt_data.h -------------------------------------------------------------------------------- /bangBN/inputbn.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangBN/inputbn.txt -------------------------------------------------------------------------------- /bangBN/inputbn1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangBN/inputbn1.txt -------------------------------------------------------------------------------- /bangBN/kernel_bn - 副本.mlu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangBN/kernel_bn - 副本.mlu.cpp -------------------------------------------------------------------------------- /bangBN/kernel_bn.mlu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangBN/kernel_bn.mlu -------------------------------------------------------------------------------- /bangBN/kernel_bn.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangBN/kernel_bn.o -------------------------------------------------------------------------------- /bangBN/marco.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangBN/marco.h -------------------------------------------------------------------------------- /bangBN/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangBN/test -------------------------------------------------------------------------------- /bangBN/test_result: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangBN/test_result -------------------------------------------------------------------------------- /bangCosine/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangCosine/Makefile -------------------------------------------------------------------------------- /bangCosine/cnrt_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangCosine/cnrt_data.h -------------------------------------------------------------------------------- /bangCosine/cosine_main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangCosine/cosine_main.cpp -------------------------------------------------------------------------------- /bangCosine/cosine_main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangCosine/cosine_main.o -------------------------------------------------------------------------------- /bangCosine/cosine_ops.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangCosine/cosine_ops.cpp -------------------------------------------------------------------------------- /bangCosine/cosine_ops.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangCosine/cosine_ops.o -------------------------------------------------------------------------------- /bangCosine/input1.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangCosine/input1.txt -------------------------------------------------------------------------------- /bangCosine/input2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangCosine/input2.txt -------------------------------------------------------------------------------- /bangCosine/kernel_cosine - 副本.mlu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangCosine/kernel_cosine - 副本.mlu.cpp -------------------------------------------------------------------------------- /bangCosine/kernel_cosine.mlu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangCosine/kernel_cosine.mlu -------------------------------------------------------------------------------- /bangCosine/kernel_cosine.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangCosine/kernel_cosine.o -------------------------------------------------------------------------------- /bangCosine/marco.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangCosine/marco.h -------------------------------------------------------------------------------- /bangCosine/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangCosine/test -------------------------------------------------------------------------------- /bangCosine/test_result: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangCosine/test_result -------------------------------------------------------------------------------- /bangPowerXY/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangPowerXY/Makefile -------------------------------------------------------------------------------- /bangPowerXY/cnrt_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangPowerXY/cnrt_data.h -------------------------------------------------------------------------------- /bangPowerXY/kernel_powerxy.mlu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangPowerXY/kernel_powerxy.mlu -------------------------------------------------------------------------------- /bangPowerXY/kernel_powerxy.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangPowerXY/kernel_powerxy.o -------------------------------------------------------------------------------- /bangPowerXY/marco.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangPowerXY/marco.h -------------------------------------------------------------------------------- /bangPowerXY/pow_out_cpu.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangPowerXY/pow_out_cpu.txt -------------------------------------------------------------------------------- /bangPowerXY/pow_x.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangPowerXY/pow_x.txt -------------------------------------------------------------------------------- /bangPowerXY/pow_y.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangPowerXY/pow_y.txt -------------------------------------------------------------------------------- /bangPowerXY/powerxy_main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangPowerXY/powerxy_main.cpp -------------------------------------------------------------------------------- /bangPowerXY/powerxy_main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangPowerXY/powerxy_main.o -------------------------------------------------------------------------------- /bangPowerXY/powerxy_ops.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangPowerXY/powerxy_ops.cpp -------------------------------------------------------------------------------- /bangPowerXY/powerxy_ops.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangPowerXY/powerxy_ops.o -------------------------------------------------------------------------------- /bangPowerXY/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangPowerXY/test -------------------------------------------------------------------------------- /bangSoftmax/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangSoftmax/Makefile -------------------------------------------------------------------------------- /bangSoftmax/cnrt_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangSoftmax/cnrt_data.h -------------------------------------------------------------------------------- /bangSoftmax/inputsoftmax.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangSoftmax/inputsoftmax.txt -------------------------------------------------------------------------------- /bangSoftmax/kernel_softmax - 副本.mlu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangSoftmax/kernel_softmax - 副本.mlu -------------------------------------------------------------------------------- /bangSoftmax/kernel_softmax-2.mlu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangSoftmax/kernel_softmax-2.mlu -------------------------------------------------------------------------------- /bangSoftmax/kernel_softmax.mlu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangSoftmax/kernel_softmax.mlu -------------------------------------------------------------------------------- /bangSoftmax/softmax_main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangSoftmax/softmax_main.cpp -------------------------------------------------------------------------------- /bangSoftmax/softmax_ops.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangSoftmax/softmax_ops.cpp -------------------------------------------------------------------------------- /bangTripletloss/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangTripletloss/Makefile -------------------------------------------------------------------------------- /bangTripletloss/cnrt_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangTripletloss/cnrt_data.h -------------------------------------------------------------------------------- /bangTripletloss/inputa.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangTripletloss/inputa.txt -------------------------------------------------------------------------------- /bangTripletloss/inputn.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangTripletloss/inputn.txt -------------------------------------------------------------------------------- /bangTripletloss/inputp.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangTripletloss/inputp.txt -------------------------------------------------------------------------------- /bangTripletloss/kernel_tripletloss - 副本.mlu.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangTripletloss/kernel_tripletloss - 副本.mlu.cpp -------------------------------------------------------------------------------- /bangTripletloss/kernel_tripletloss.mlu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangTripletloss/kernel_tripletloss.mlu -------------------------------------------------------------------------------- /bangTripletloss/kernel_tripletloss.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangTripletloss/kernel_tripletloss.o -------------------------------------------------------------------------------- /bangTripletloss/marco.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangTripletloss/marco.h -------------------------------------------------------------------------------- /bangTripletloss/result.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangTripletloss/result.txt -------------------------------------------------------------------------------- /bangTripletloss/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangTripletloss/test -------------------------------------------------------------------------------- /bangTripletloss/tripletloss_main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangTripletloss/tripletloss_main.cpp -------------------------------------------------------------------------------- /bangTripletloss/tripletloss_main.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangTripletloss/tripletloss_main.o -------------------------------------------------------------------------------- /bangTripletloss/tripletloss_ops.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangTripletloss/tripletloss_ops.cpp -------------------------------------------------------------------------------- /bangTripletloss/tripletloss_ops.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/liaohsiaopin/Cambricon_BangC_Practice/HEAD/bangTripletloss/tripletloss_ops.o --------------------------------------------------------------------------------