tRemoved DEVCODE option - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit bcfbbe0e627c71fe2306d60693eae16109fc5a08
(DIR) parent 82705c8d0919c4286f01ca455d8ef54f9042f8a2
(HTM) Author: Anders Damsgaard <adc@geo.au.dk>
Date: Tue, 23 Oct 2012 14:09:33 +0200
Removed DEVCODE option
Diffstat:
M python/sphere.py | 2 +-
M raytracer/Makefile | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/python/sphere.py b/python/sphere.py
t@@ -1,4 +1,4 @@
-#!/usr/bin/env python2.7
+
import math
import numpy
import matplotlib as mpl
(DIR) diff --git a/raytracer/Makefile b/raytracer/Makefile
t@@ -23,9 +23,12 @@ OBJECTS=$(CCOBJECTS) $(CUOBJECTS)
EXECUTABLE=rt
-# NVCC debug compilation
+# NVCC flags
NVCCFLAGS+=-use_fast_math -gencode arch=compute_20,code=sm_20
+# Generate device code
+#NVCCFLAGS+=--export-dir=$(EXECUTABLE).devcode
+
INCLUDES = -I. -I../libs -I/usr/local/cuda/include
LIBS = -L/usr/local/cuda/lib64 -L/usr/local/cuda/lib -lcudart -lcuda
#GL_LIBS = -lGLEW