From 1e0851d0ff2fd5d3c7a7479f5869f44472646086 Mon Sep 17 00:00:00 2001 From: brian Date: Mon, 17 Apr 2023 11:31:46 +0200 Subject: [PATCH] Applying patches from eclipse-deeplearning4j Signed-off-by: brian --- .../loops/cpu/compilation_units/reduce3_bfloat16.cpp.in | 6 +++--- .../blas/loops/cpu/compilation_units/reduce_float.cpp.in | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/cavis-native/cavis-native-lib/src/main/cpp/blas/loops/cpu/compilation_units/reduce3_bfloat16.cpp.in b/cavis-native/cavis-native-lib/src/main/cpp/blas/loops/cpu/compilation_units/reduce3_bfloat16.cpp.in index e2836a717..9e597e6a2 100644 --- a/cavis-native/cavis-native-lib/src/main/cpp/blas/loops/cpu/compilation_units/reduce3_bfloat16.cpp.in +++ b/cavis-native/cavis-native-lib/src/main/cpp/blas/loops/cpu/compilation_units/reduce3_bfloat16.cpp.in @@ -25,7 +25,7 @@ #include #cmakedefine LIBND4J_TYPE_GEN namespace functions { - namespace reduce3 { - BUILD_DOUBLE_TEMPLATE(template class ND4J_EXPORT Reduce3, , LIBND4J_TYPES_@FL_TYPE_INDEX@, FLOAT_TYPES_3); - } + namespace reduce3 { + BUILD_DOUBLE_TEMPLATE(template class ND4J_EXPORT Reduce3, , LIBND4J_TYPES_@FL_TYPE_INDEX@, FLOAT_TYPES_3); + } } \ No newline at end of file diff --git a/cavis-native/cavis-native-lib/src/main/cpp/blas/loops/cpu/compilation_units/reduce_float.cpp.in b/cavis-native/cavis-native-lib/src/main/cpp/blas/loops/cpu/compilation_units/reduce_float.cpp.in index 6d8e7c452..f8f57f056 100644 --- a/cavis-native/cavis-native-lib/src/main/cpp/blas/loops/cpu/compilation_units/reduce_float.cpp.in +++ b/cavis-native/cavis-native-lib/src/main/cpp/blas/loops/cpu/compilation_units/reduce_float.cpp.in @@ -22,10 +22,11 @@ // @author raver119@gmail.com // + #include #cmakedefine FLOAT_TYPE_GEN namespace functions { - namespace reduce { - BUILD_DOUBLE_TEMPLATE(template class ND4J_EXPORT ReduceFloatFunction, , LIBND4J_TYPES, FLOAT_TYPES_@FL_TYPE_INDEX@); - } -} + namespace reduce { + BUILD_DOUBLE_TEMPLATE(template class ND4J_EXPORT ReduceFloatFunction, , LIBND4J_TYPES, FLOAT_TYPES_@FL_TYPE_INDEX@); + } +} \ No newline at end of file