summaryrefslogtreecommitdiffstats
path: root/copy_experiments/Makefile
diff options
context:
space:
mode:
authorJoshua Bakita <jbakita@cs.unc.edu>2024-02-26 20:33:25 -0500
committerJoshua Bakita <jbakita@cs.unc.edu>2024-02-26 20:33:25 -0500
commitd1576765658fc866bed806cbde969d39cc6a8dd8 (patch)
tree0235aa2cf81fb58f4d0137ffdfafac008408b2ad /copy_experiments/Makefile
parent340457bd5dae3624d4c92a02b84fb8206c0348a9 (diff)
Add gl_copies benchmark and make target
=> Uploads a large texture to the GPU on every frame => Requires the freeglut library (freeglut3-dev on Ubuntu) => Due to special requirements, not built by default => Written for Anderson and Bakita RTAS'24 paper
Diffstat (limited to 'copy_experiments/Makefile')
-rw-r--r--copy_experiments/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/copy_experiments/Makefile b/copy_experiments/Makefile
index ede22dc..5adda53 100644
--- a/copy_experiments/Makefile
+++ b/copy_experiments/Makefile
@@ -1,5 +1,6 @@
1.PHONY: all clean 1.PHONY: all clean
2NVCC ?= nvcc 2NVCC ?= nvcc
3CC ?= gcc
3 4
4all: copy_contender mon_cross_ctx_copies 5all: copy_contender mon_cross_ctx_copies
5 6
@@ -9,5 +10,8 @@ copy_contender: copy_contender.cu copy_testbench.h ../testbench.h
9mon_cross_ctx_copies: mon_cross_ctx_copies.cu copy_testbench.h ../testbench.h 10mon_cross_ctx_copies: mon_cross_ctx_copies.cu copy_testbench.h ../testbench.h
10 $(NVCC) mon_cross_ctx_copies.cu -o $@ -lcuda -lpthread -g 11 $(NVCC) mon_cross_ctx_copies.cu -o $@ -lcuda -lpthread -g
11 12
13gl_copies: gl_copies.c
14 $(CC) gl_copies.c -o $@ -lGL -lglut -g
15
12clean: 16clean:
13 rm -f copy_contender mon_cross_ctx_copies 17 rm -f copy_contender mon_cross_ctx_copies gl_copies