Skip to content

Commit

Permalink
added mkldnn dependency for plugin compile target (apache#14274)
Browse files Browse the repository at this point in the history
  • Loading branch information
samskalicky authored and vdantu committed Mar 31, 2019
1 parent 31f1ae4 commit 6d54e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ build/plugin/%_gpu.o: plugin/%.cu
$(CXX) -std=c++11 $(CFLAGS) -MM -MT build/plugin/$*_gpu.o $< >build/plugin/$*_gpu.d
$(NVCC) -c -o $@ $(NVCCFLAGS) $(CUDA_ARCH) -Xcompiler "$(CFLAGS)" $<

build/plugin/%.o: plugin/%.cc
build/plugin/%.o: plugin/%.cc | mkldnn
@mkdir -p $(@D)
$(CXX) -std=c++11 -c $(CFLAGS) -MMD -c $< -o $@

Expand Down

0 comments on commit 6d54e49

Please sign in to comment.