From 9ce233b6717e098cbe2141fdf7dc00aae6602843 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Sat, 16 Dec 2023 11:44:38 -0600 Subject: [PATCH] final --- assignments/04/.gitignore | 4 +++- assignments/04/Makefile | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/assignments/04/.gitignore b/assignments/04/.gitignore index eacc0b0..3d3e25b 100644 --- a/assignments/04/.gitignore +++ b/assignments/04/.gitignore @@ -4,4 +4,6 @@ km_cuda clusters.txt centroids.txt report.pdf -cluster.txt \ No newline at end of file +cluster.txt + +zhan4854.tar.gz \ No newline at end of file diff --git a/assignments/04/Makefile b/assignments/04/Makefile index 20226c9..3229a8c 100644 --- a/assignments/04/Makefile +++ b/assignments/04/Makefile @@ -1,5 +1,11 @@ .PHONY: clean +zhan4854.tar.gz: Makefile ASSIGNMENT.md km_cuda.cu km_cuda_fixed_n.cu report.pdf + mkdir -p zhan4854 + cp $^ zhan4854 + tar -czvf $@ zhan4854 + rm -r zhan4854 + km_cuda: km_cuda.cu nvcc -Xptxas -O3,-v -use_fast_math -o $@ $<