1 --- common.mk.orig 2010-01-16 13:27:29.395745938 +0200
2 +++ common.mk 2010-01-16 13:36:30.409719894 +0200
4 # Add new SM Versions here as devices with new Compute Capability are released
5 SM_VERSIONS := sm_10 sm_11 sm_12 sm_13
7 -CUDA_INSTALL_PATH ?= /opt/cuda
8 +CUDA_INSTALL_PATH ?= /usr
11 CUDA_INSTALL_PATH := $(cuda-install)
14 LIBDIR := $(ROOTDIR)/../lib
15 COMMONDIR := $(ROOTDIR)/../common
16 -NVIDIA_SDK_PATH := /opt/cuda/NVIDIA_CUDA_SDK
17 +NVIDIA_SDK_PATH := /usr/share/cuda-sdk
20 NVCC := $(CUDA_INSTALL_PATH)/bin/nvcc
24 # Compiler-specific flags
26 +NVCCFLAGS := --compiler-options "-fpermissive -fno-inline"
27 CXXFLAGS := $(CXXWARN_FLAGS)
28 CFLAGS := $(CWARN_FLAGS)