summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim
diff options
context:
space:
mode:
authorJin Wang <[email protected]>2016-09-05 18:09:12 -0400
committerJin Wang <[email protected]>2016-09-05 18:09:12 -0400
commit0421e45d3f8796bc9bf1ff3b62c05173f7862463 (patch)
treeb193454db028099e6a7b4d098ed55502ca1ab1fd /src/gpgpu-sim
parentad4b448e846b1cd3ac244f02fc1e21ab37eaec55 (diff)
MOD: modify Makefile to make CUDART_VERSION available to gpu-sim.cc
Diffstat (limited to 'src/gpgpu-sim')
-rw-r--r--src/gpgpu-sim/Makefile1
1 files changed, 1 insertions, 0 deletions
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