diff options
| author | Jin Wang <[email protected]> | 2016-09-05 18:09:12 -0400 |
|---|---|---|
| committer | Jin Wang <[email protected]> | 2016-09-05 18:09:12 -0400 |
| commit | 0421e45d3f8796bc9bf1ff3b62c05173f7862463 (patch) | |
| tree | b193454db028099e6a7b4d098ed55502ca1ab1fd /src | |
| parent | ad4b448e846b1cd3ac244f02fc1e21ab37eaec55 (diff) | |
MOD: modify Makefile to make CUDART_VERSION available to gpu-sim.cc
Diffstat (limited to 'src')
| -rw-r--r-- | src/gpgpu-sim/Makefile | 1 |
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 |
