Skip to content

Commit

Permalink
Update dmlc-core (apache#16149)
Browse files Browse the repository at this point in the history
Change-Id: I472fb7bbffc16ed8c36494ab49838b08c59b2f12
  • Loading branch information
ZhennanQin authored and larroy committed Sep 28, 2019
1 parent 55417c3 commit 537701f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion amalgamation/amalgamation.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
'opencv2/opencv.hpp', 'sys/stat.h', 'sys/types.h', 'cuda.h', 'cuda_fp16.h', 'omp.h',
'onnx/onnx.pb.h', 'execinfo.h', 'packet/sse-inl.h', 'emmintrin.h', 'thrust/device_vector.h',
'cusolverDn.h', 'internal/concurrentqueue_internal_debug.h', 'relacy/relacy_std.hpp',
'relacy_shims.h', 'ittnotify.h', 'shared_mutex', 'nvToolsExt.h'
'relacy_shims.h', 'ittnotify.h', 'shared_mutex', 'nvToolsExt.h', 'dmlc/build_config.h',
'sys/isa_defs.h'
]

minimum = int(sys.argv[6]) if len(sys.argv) > 5 else 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ private[mxnet] object CToScalaUtils {
case "double" | "doubleorNone" => types("double")
case "string" => "String"
case "boolean" | "booleanorNone" => types("bool")
case "tupleof<int>" | "tupleof<float>" | "tupleof<double>" | "tupleof<intorNone>" |
"tupleof<>" | "ptr" | "" => "Any"
case "tupleof<int>"| "tupleof<long>" | "tupleof<float>" | "tupleof<double>" |
"tupleof<intorNone>" | "tupleof<>" | "ptr" | "" => "Any"
case default => throw new IllegalArgumentException(
s"Invalid type for args: $default\nString argType: $argType\nargName: $argName")
}
Expand Down

0 comments on commit 537701f

Please sign in to comment.