summaryrefslogtreecommitdiff
path: root/ccc
diff options
context:
space:
mode:
Diffstat (limited to 'ccc')
-rw-r--r--ccc/Makefile9
-rwxr-xr-xccc/vector_addition_make.sh5
2 files changed, 9 insertions, 5 deletions
diff --git a/ccc/Makefile b/ccc/Makefile
index 6fb5006..662c75e 100644
--- a/ccc/Makefile
+++ b/ccc/Makefile
@@ -1,3 +1,12 @@
compression_test: compression_test.cc
g++ compression_test.cc -lboost_filesystem -lboost_iostreams -o compression_test
+vector_addition: vector_addition.c
+ gcc -Os vector_addition.c -o vector_addition
+
+vector_addition_cuda: vector_addition.cu
+ nvcc vector_addition.cu -o vector_addition_cuda
+
+vector_addition_cuda1: vector_addition1.cu
+ nvcc vector_addition1.cu -o vector_addition_cuda1
+
diff --git a/ccc/vector_addition_make.sh b/ccc/vector_addition_make.sh
deleted file mode 100755
index 9c275cb..0000000
--- a/ccc/vector_addition_make.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-nvcc vadd.cu -o gpu
-gcc -Os vadd.c -o cpu
-