diff options
author | Determinant <ted.sybil@gmail.com> | 2016-03-02 16:49:33 +0800 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2016-03-02 16:49:33 +0800 |
commit | d3abc6459a776ff7fa3777f4f561bc4f5d5e2075 (patch) | |
tree | a0fffbdb4960ba463f720436ca5f050f0d747504 /nerv/Makefile | |
parent | 75108e2e000f4382129d453c0fa9073b14d32f97 (diff) |
add GPU auto selection
Diffstat (limited to 'nerv/Makefile')
-rw-r--r-- | nerv/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nerv/Makefile b/nerv/Makefile index 9ef3212..46e79a0 100644 --- a/nerv/Makefile +++ b/nerv/Makefile @@ -42,7 +42,7 @@ INCLUDE := -I $(LUA_INCDIR) -DLUA_USE_APICHECK CUDA_INCLUDE := -I $(CUDA_BASE)/include/ INCLUDE += $(CUDA_INCLUDE) -CUDA_LDFLAGS := -L$(CUDA_BASE)/lib64/ -Wl,-rpath=$(CUDA_BASE)/lib64/ -lcudart -lcublas -lcurand +CUDA_LDFLAGS := -L$(CUDA_BASE)/lib64/ -Wl,-rpath=$(CUDA_BASE)/lib64/ -lcudart -lcuda -lcublas -lcurand NVCC := $(CUDA_BASE)/bin/nvcc EMPTY := |