tRemoved DEVCODE option - sphere - GPU-based 3D discrete element method algorit… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 82705c8d0919c4286f01ca455d8ef54f9042f8a2 | |
parent 97655b72d1ebcae4699b58c4cf8a177799f072fc | |
Author: Anders Damsgaard <[email protected]> | |
Date: Tue, 23 Oct 2012 14:08:44 +0200 | |
Removed DEVCODE option | |
Diffstat: | |
M src/Makefile | 4 ++++ | |
M src/device.cu | 1 - | |
2 files changed, 4 insertions(+), 1 deletion(-) | |
--- | |
diff --git a/src/Makefile b/src/Makefile | |
t@@ -15,6 +15,10 @@ LINKER=$(CC) | |
CCFLAGS=-Wall -O3 | |
NVCCFLAGS=--use_fast_math -O3 -m64 -gencode=arch=compute_20,code=\"sm_20,compu… | |
+# Save runtime-generated code in cache. | |
+# Must be specified in env. var. CUDA_DEVCODE_PATH before exec. | |
+#NVCCFLAGS+=--export-dir code_repo | |
+ | |
# Verbose compile? | |
#NVCCFLAGS+=--verbose | |
diff --git a/src/device.cu b/src/device.cu | |
t@@ -175,7 +175,6 @@ __host__ void checkConstantMemory(Grid* grid, Params* para… | |
//cudaPrintfDisplay(stdout, true); | |
- | |
// Are the values equal? | |
if (*equal != 0) { | |
std::cerr << "Error! The values in constant memory do not " |