makefile: add both lib and lib64 to the cuda library path.
authorYangqing Jia <jiayq84@gmail.com>
Mon, 25 Nov 2013 06:13:34 +0000 (22:13 -0800)
committerYangqing Jia <jiayq84@gmail.com>
Mon, 25 Nov 2013 06:13:34 +0000 (22:13 -0800)
Makefile

index bb70e8f..3a81ce0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -70,7 +70,7 @@ TEST_BINS := ${TEST_OBJS:.o=.testbin}
 # Derive include and lib directories
 ##############################
 CUDA_INCLUDE_DIR := $(CUDA_DIR)/include
-CUDA_LIB_DIR := $(CUDA_DIR)/lib64
+CUDA_LIB_DIR := $(CUDA_DIR)/lib64 $(CUDA_DIR)/lib
 MKL_INCLUDE_DIR := $(MKL_DIR)/include
 MKL_LIB_DIR := $(MKL_DIR)/lib $(MKL_DIR)/lib/intel64