Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Moved cub to 3rdparty (#8878)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjolivier01 authored and piiswrong committed Nov 30, 2017
1 parent 47a71a6 commit 0df7953
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
path = dlpack
url = https://github.com/dmlc/dlpack
[submodule "cub"]
path = cub
path = 3rdparty/cub
url = https://github.com/dmlc/cub
[submodule "3rdparty/openmp"]
path = 3rdparty/openmp
Expand Down
Submodule cub updated from 000000 to 05eb57
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ endforeach()

include_directories("include")
include_directories("mshadow")
include_directories("cub")
include_directories("3rdparty/cub")
include_directories("nnvm/include")
include_directories("dmlc-core/include")
include_directories("dlpack/include")
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ LIB_DEP += $(DMLC_CORE)/libdmlc.a $(NNVM_PATH)/lib/libnnvm.a
ALL_DEP = $(OBJ) $(EXTRA_OBJ) $(PLUGIN_OBJ) $(LIB_DEP)

ifeq ($(USE_CUDA), 1)
CFLAGS += -I$(ROOTDIR)/cub
CFLAGS += -I$(ROOTDIR)/3rdparty/cub
ALL_DEP += $(CUOBJ) $(EXTRA_CUOBJ) $(PLUGIN_CUOBJ)
LDFLAGS += -lcuda -lcufft -lnvrtc
SCALA_PKG_PROFILE := $(SCALA_PKG_PROFILE)-gpu
Expand Down

0 comments on commit 0df7953

Please sign in to comment.