├── README.md ├── attention ├── att_v1.cu ├── att_v2.cu ├── att_v3.cu ├── att_v4.cu ├── att_v5.cu ├── att_v6.cu └── att_v7.cu ├── matrix ├── matmul.cu ├── matmul_cublas.cu ├── matmul_tensor_core.cu ├── matmul_v3.cu ├── matmul_v5.cu ├── matmul_v6.cu ├── tensorCore.cu └── transposeTensor.cu ├── naive ├── add.cu ├── he.cu ├── reduce.cu └── run.sh └── softmax ├── 1Dsoftmax ├── README.md ├── softmax_cub.cu ├── softmax_v1.cu ├── softmax_v2.cu ├── softmax_v3.cu ├── softmax_v4.cu ├── softmax_v5.cu └── softmax_v6.cu └── highSoftmax ├── README.md ├── softmax_v1.cu ├── softmax_v10.cu ├── softmax_v2.cu ├── softmax_v3.cu ├── softmax_v4.cu ├── softmax_v5.cu ├── softmax_v6.cu ├── softmax_v7.cu ├── softmax_v8.cu └── softmax_v9.cu /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/README.md -------------------------------------------------------------------------------- /attention/att_v1.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/attention/att_v1.cu -------------------------------------------------------------------------------- /attention/att_v2.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/attention/att_v2.cu -------------------------------------------------------------------------------- /attention/att_v3.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/attention/att_v3.cu -------------------------------------------------------------------------------- /attention/att_v4.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/attention/att_v4.cu -------------------------------------------------------------------------------- /attention/att_v5.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/attention/att_v5.cu -------------------------------------------------------------------------------- /attention/att_v6.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/attention/att_v6.cu -------------------------------------------------------------------------------- /attention/att_v7.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/attention/att_v7.cu -------------------------------------------------------------------------------- /matrix/matmul.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/matrix/matmul.cu -------------------------------------------------------------------------------- /matrix/matmul_cublas.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/matrix/matmul_cublas.cu -------------------------------------------------------------------------------- /matrix/matmul_tensor_core.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/matrix/matmul_tensor_core.cu -------------------------------------------------------------------------------- /matrix/matmul_v3.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/matrix/matmul_v3.cu -------------------------------------------------------------------------------- /matrix/matmul_v5.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/matrix/matmul_v5.cu -------------------------------------------------------------------------------- /matrix/matmul_v6.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/matrix/matmul_v6.cu -------------------------------------------------------------------------------- /matrix/tensorCore.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/matrix/tensorCore.cu -------------------------------------------------------------------------------- /matrix/transposeTensor.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/matrix/transposeTensor.cu -------------------------------------------------------------------------------- /naive/add.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/naive/add.cu -------------------------------------------------------------------------------- /naive/he.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/naive/he.cu -------------------------------------------------------------------------------- /naive/reduce.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/naive/reduce.cu -------------------------------------------------------------------------------- /naive/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/naive/run.sh -------------------------------------------------------------------------------- /softmax/1Dsoftmax/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/softmax/1Dsoftmax/README.md -------------------------------------------------------------------------------- /softmax/1Dsoftmax/softmax_cub.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/softmax/1Dsoftmax/softmax_cub.cu -------------------------------------------------------------------------------- /softmax/1Dsoftmax/softmax_v1.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/softmax/1Dsoftmax/softmax_v1.cu -------------------------------------------------------------------------------- /softmax/1Dsoftmax/softmax_v2.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/softmax/1Dsoftmax/softmax_v2.cu -------------------------------------------------------------------------------- /softmax/1Dsoftmax/softmax_v3.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/softmax/1Dsoftmax/softmax_v3.cu -------------------------------------------------------------------------------- /softmax/1Dsoftmax/softmax_v4.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/softmax/1Dsoftmax/softmax_v4.cu -------------------------------------------------------------------------------- /softmax/1Dsoftmax/softmax_v5.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/softmax/1Dsoftmax/softmax_v5.cu -------------------------------------------------------------------------------- /softmax/1Dsoftmax/softmax_v6.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/softmax/1Dsoftmax/softmax_v6.cu -------------------------------------------------------------------------------- /softmax/highSoftmax/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/softmax/highSoftmax/README.md -------------------------------------------------------------------------------- /softmax/highSoftmax/softmax_v1.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/softmax/highSoftmax/softmax_v1.cu -------------------------------------------------------------------------------- /softmax/highSoftmax/softmax_v10.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/softmax/highSoftmax/softmax_v10.cu -------------------------------------------------------------------------------- /softmax/highSoftmax/softmax_v2.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/softmax/highSoftmax/softmax_v2.cu -------------------------------------------------------------------------------- /softmax/highSoftmax/softmax_v3.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/softmax/highSoftmax/softmax_v3.cu -------------------------------------------------------------------------------- /softmax/highSoftmax/softmax_v4.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/softmax/highSoftmax/softmax_v4.cu -------------------------------------------------------------------------------- /softmax/highSoftmax/softmax_v5.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/softmax/highSoftmax/softmax_v5.cu -------------------------------------------------------------------------------- /softmax/highSoftmax/softmax_v6.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/softmax/highSoftmax/softmax_v6.cu -------------------------------------------------------------------------------- /softmax/highSoftmax/softmax_v7.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/softmax/highSoftmax/softmax_v7.cu -------------------------------------------------------------------------------- /softmax/highSoftmax/softmax_v8.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/softmax/highSoftmax/softmax_v8.cu -------------------------------------------------------------------------------- /softmax/highSoftmax/softmax_v9.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xgqdut2016/cuda_code/HEAD/softmax/highSoftmax/softmax_v9.cu --------------------------------------------------------------------------------