Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nnvm RNN op with icc and mkldnn memory cache #10

Open
wants to merge 4 commits into
base: master2
Choose a base branch
from
Open
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
# specific language governing permissions and limitations
# under the License.

export CC = icc
export CXX = icpc

ROOTDIR = $(CURDIR)
TPARTYDIR = $(ROOTDIR)/3rdparty

Expand Down Expand Up @@ -87,6 +90,9 @@ include $(DMLC_CORE)/make/dmlc.mk
WARNFLAGS= -Wall -Wsign-compare
CFLAGS = -DMSHADOW_FORCE_STREAM $(WARNFLAGS)

# for Intel compiler
CFLAGS += -Qoption,cpp,--new_cilkfor

ifeq ($(DEV), 1)
CFLAGS += -g -Werror
NVCCFLAGS += -Werror cross-execution-space-call
Expand Down
6 changes: 6 additions & 0 deletions include/mxnet/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@
#endif
#endif

#ifdef __INTEL_COMPILER
#if __INTEL_COMPILER < 1900
#error "Need icc/icpc 19.0.0 or higher version to build mxnet"
#endif
#endif

/*!
* \brief define dllexport for Visual Studio
*/
Expand Down
Loading