mirror of https://github.com/jlizier/jidt
fix: remove custom CUB include and disable CUB version check
- Removed `-I./cub` from the `INCLUDES` as CUB is now included in the CUDA Toolkit. - Added `-DTHRUST_IGNORE_CUB_VERSION_CHECK` flag to bypass the Thrust and CUB version check.
This commit is contained in:
parent
5d4419d734
commit
82f17abe31
|
|
@ -12,7 +12,7 @@
|
|||
NVCC ?= nvcc
|
||||
GCC ?= g++
|
||||
CCFLAGS ?= -O3 -Wall -Wextra -Wno-unused-parameter
|
||||
NVCCFLAGS ?= -O3 -D_FORCE_INLINES -Xcompiler -Wall
|
||||
NVCCFLAGS ?= -O3 -D_FORCE_INLINES -Xcompiler -Wall -DTHRUST_IGNORE_CUB_VERSION_CHECK
|
||||
BIN =../bin/cuda
|
||||
UNITBIN =../unittests/bin/cuda
|
||||
|
||||
|
|
@ -73,7 +73,7 @@ ifdef CUSTOMFLAGS
|
|||
endif
|
||||
|
||||
# Common includes and paths for CUDA. This assumes the CUDA toolkit is in PATH
|
||||
INCLUDES := -I. -I./cub -I${JNI_INCLUDE} -I${JNI_PLATFORM_INCLUDE}
|
||||
INCLUDES := -I. -I${JNI_INCLUDE} -I${JNI_PLATFORM_INCLUDE}
|
||||
NVCCLDFLAGS := -L. -L$(BIN) -lcuda -lcudart
|
||||
|
||||
.PHONY: all clean test
|
||||
|
|
|
|||
Loading…
Reference in New Issue