summaryrefslogtreecommitdiff
path: root/cuda-kernels/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cuda-kernels/Makefile')
-rwxr-xr-xcuda-kernels/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/cuda-kernels/Makefile b/cuda-kernels/Makefile
new file mode 100755
index 0000000..51a7760
--- /dev/null
+++ b/cuda-kernels/Makefile
@@ -0,0 +1,7 @@
+all: tensor_core.cu
+ nvcc -arch=sm_70 -lcudart -g -o tensor_core tensor_core.cu
+
+.PHONY:
+clean:
+ rm tensorcore
+# nvcc -arch=sm_70 --gpu-architecture=compute_50 --gpu-code=compute_50 -lcudart -g -o tensor_core tensor_core.cu