From d1576765658fc866bed806cbde969d39cc6a8dd8 Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Mon, 26 Feb 2024 20:33:25 -0500 Subject: 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 --- copy_experiments/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'copy_experiments/Makefile') 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 @@ .PHONY: all clean NVCC ?= nvcc +CC ?= gcc all: copy_contender mon_cross_ctx_copies @@ -9,5 +10,8 @@ copy_contender: copy_contender.cu copy_testbench.h ../testbench.h mon_cross_ctx_copies: mon_cross_ctx_copies.cu copy_testbench.h ../testbench.h $(NVCC) mon_cross_ctx_copies.cu -o $@ -lcuda -lpthread -g +gl_copies: gl_copies.c + $(CC) gl_copies.c -o $@ -lGL -lglut -g + clean: - rm -f copy_contender mon_cross_ctx_copies + rm -f copy_contender mon_cross_ctx_copies gl_copies -- cgit v1.2.2