Skip to content

Commit

Permalink
Fix broken amalgamation. Script was copying a declaration from a head…
Browse files Browse the repository at this point in the history
…er file but missing out the definition, causing a runtime undef symbol error. (apache#7222)
  • Loading branch information
Piyush3dB authored and piiswrong committed Jul 27, 2017
1 parent 2d4c32f commit 08b786a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion amalgamation/amalgamation.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
'kvstore_dist.h', 'mach/clock.h', 'mach/mach.h',
'malloc.h', 'mkl.h', 'mkl_cblas.h', 'mkl_vsl.h', 'mkl_vsl_functions.h',
'nvml.h', 'opencv2/opencv.hpp', 'sys/stat.h', 'sys/types.h', 'cuda.h', 'cuda_fp16.h',
'omp.h', 'execinfo.h', 'packet/sse-inl.h', 'emmintrin.h', 'thrust/device_vector.h'
'omp.h', 'execinfo.h', 'packet/sse-inl.h', 'emmintrin.h', 'thrust/device_vector.h',
'cusolverDn.h'
]

minimum = int(sys.argv[6]) if len(sys.argv) > 5 else 0
Expand Down
1 change: 1 addition & 0 deletions amalgamation/mxnet_predict0.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@


#include "src/ndarray/ndarray_function.cc"
#include "src/ndarray/autograd.cc"
#include "src/ndarray/ndarray.cc"

#include "src/engine/engine.cc"
Expand Down

0 comments on commit 08b786a

Please sign in to comment.