Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Update mshadow.mk to support custom CUDNN_PATH #225

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions make/mshadow.mk
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ ifneq ($(USE_CUDA_PATH), NONE)
MSHADOW_LDFLAGS += -L$(USE_CUDA_PATH)/lib64 -L$(USE_CUDA_PATH)/lib
endif

ifneq ($(USE_CUDNN_PATH), NONE)
MSHADOW_CFLAGS += -I$(USE_CUDNN_PATH)/include
MSHADOW_LDFLAGS += -L$(USE_CUDNN_PATH)/lib64 -L$(USE_CUDNN_PATH)/lib
endif

ifeq ($(USE_BLAS), mkl)
ifneq ($(USE_INTEL_PATH), NONE)
UNAME_S := $(shell uname -s)
Expand Down