added TH with Comprimato

This commit is contained in:
Jakub Fojtl
2014-06-22 14:30:44 +02:00
parent 9c0cca8d1b
commit c7140abae8
10 changed files with 1415 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
BINARIES = $(basename $(wildcard v*pu.c*))
all: $(BINARIES)
clean:
rm -f $(BINARIES)
%-cpu: %-cpu.c
gcc -std=c99 -pedantic -Wextra -O3 $< -lm -o $@
%-gpu: %-gpu.cu
nvcc -gencode arch=compute_30,code=sm_30 -O3 $< -o $@