summaryrefslogtreecommitdiff
path: root/libcuda/Makefile
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-10-08 07:21:51 -0800
committerTor Aamodt <[email protected]>2010-10-08 07:21:51 -0800
commit8c2954c263b4cfd756188362919c1a16a7189788 (patch)
treee4827655db3edb26d4668fc42e78f1e5731afa02 /libcuda/Makefile
parent474e6d99c8efa9e3b8518eecb059546364370fd9 (diff)
1. refactoring cuda api code for loading PTX (removing external PTX loading entirely)
2. some bug fixes for warp_inst_t 3. creating a new class, gpgpu_t, which contains the functional "memory" state visible to all threads running on a GPU (doing this as part of my continuing effort to hunt down and eradicate every global variable that is not the top level "the gpu") 4. other misc. changes Almost passing CUDA 3.1 regression? oclHistogram keeps failing under torque, but does not fail when run on the command line from the same directory. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7827]
Diffstat (limited to 'libcuda/Makefile')
-rw-r--r--libcuda/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcuda/Makefile b/libcuda/Makefile
index bdb48f4..3a72a8a 100644
--- a/libcuda/Makefile
+++ b/libcuda/Makefile
@@ -76,9 +76,10 @@ CPP = g++ $(SNOW)
CC = gcc &(SNOW)
CREATELIBRARY = 1
DEBUG ?= 0
-CXXFLAGS += -O3 -g -Wall -fPIC $(GL)
ifeq ($(DEBUG),1)
CXXFLAGS += -Wall -g -fPIC $(GL)
+else
+ CXXFLAGS += -O3 -g -Wall -fPIC $(GL)
endif
PROG =cuda