From 0421e45d3f8796bc9bf1ff3b62c05173f7862463 Mon Sep 17 00:00:00 2001 From: Jin Wang Date: Mon, 5 Sep 2016 18:09:12 -0400 Subject: MOD: modify Makefile to make CUDART_VERSION available to gpu-sim.cc --- src/gpgpu-sim/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gpgpu-sim/Makefile') diff --git a/src/gpgpu-sim/Makefile b/src/gpgpu-sim/Makefile index bead38a..f10a8a4 100644 --- a/src/gpgpu-sim/Makefile +++ b/src/gpgpu-sim/Makefile @@ -59,6 +59,7 @@ ifneq ($(GPGPUSIM_POWER_MODEL),) endif OPTFLAGS += -g3 -fPIC +OPTFLAGS += -DCUDART_VERSION=$(CUDART_VERSION) CPP = g++ $(SNOW) OEXT = o -- cgit v1.3