Skip to content

Commit

Permalink
Makefile: exit early if 1Bit-SGD headers not found in 1Bit-SGD build
Browse files Browse the repository at this point in the history
  • Loading branch information
mahilleb-msft committed Jan 29, 2016
1 parent 58bc958 commit 263a317
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,11 @@ endif
########################################
ifeq ("$(CNTK_ENABLE_1BitSGD)","true")
ifeq (,$(wildcard Source/1BitSGD/*.h))
$(error Build with 1bit-SGD was requested but cannot find the code. Please check https://github.com/Microsoft/CNTK/wiki/Enabling-1bit-SGD for instructions)
endif
INCLUDEPATH += $(SOURCEDIR)/1BitSGD
CPPFLAGS += -DQUANTIZED_GRADIENT_AGGREGATION
Expand Down

0 comments on commit 263a317

Please sign in to comment.