File tree Expand file tree Collapse file tree 2 files changed +13
-14
lines changed
Common/ML/include/ML/3rdparty Expand file tree Collapse file tree 2 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -547,9 +547,9 @@ GPUdi() uint16_t BFloat16Impl<Derived>::ToUint16Impl(float v) noexcept
547547 {
548548 std::memcpy (&result, reinterpret_cast <char *>(&fl) + sizeof (uint16_t ), sizeof (uint16_t ));
549549 } else {
550- static_assert (false , " ERROR!!!" );
551550 std::memcpy (&result, &fl, sizeof (uint16_t ));
552551 }
552+ #endif
553553 return result;
554554 };
555555
@@ -562,7 +562,6 @@ GPUdi() uint16_t BFloat16Impl<Derived>::ToUint16Impl(float v) noexcept
562562 U32 += (upper_bits & 1 ) + kRoundToNearest ;
563563 result = get_msb_half (F32);
564564 }
565- #endif
566565 return result;
567566 }
568567
Original file line number Diff line number Diff line change @@ -268,19 +268,19 @@ unset(HDRS_TMP)
268268if (ALIGPU_BUILD_TYPE STREQUAL "O2" )
269269
270270 o2_add_library(GPUDataTypes
271- TARGETVARNAME targetName
272- PUBLIC_INCLUDE_DIRECTORIES .
273- Definitions
274- DataTypes
275- PUBLIC_LINK_LIBRARIES O2::GPUUtils
276- O2::GPUCommon
277- O2::ReconstructionDataFormats
278- O2::TPCFastTransformation
279- O2::ML
280- PRIVATE_LINK_LIBRARIES O2::DataFormatsTPC
281- SOURCES ${SRCS_DATATYPES} )
271+ TARGETVARNAME targetName
272+ PUBLIC_INCLUDE_DIRECTORIES .
273+ Definitions
274+ DataTypes
275+ PUBLIC_LINK_LIBRARIES O2::GPUUtils
276+ O2::GPUCommon
277+ O2::ReconstructionDataFormats
278+ O2::TPCFastTransformation
279+ O2::ML
280+ PRIVATE_LINK_LIBRARIES O2::DataFormatsTPC
281+ SOURCES ${SRCS_DATATYPES} )
282282 add_compile_definitions (GPUCA_HAS_ONNX=1)
283- target_compile_definitions (${targetName} PRIVATE GPUCA_O2_LIB GPUCA_TPC_GEOMETRY_O2 GPUCA_HAS_ONNX)
283+ target_compile_definitions (${targetName} PRIVATE GPUCA_O2_LIB GPUCA_TPC_GEOMETRY_O2 GPUCA_HAS_ONNX=1 )
284284
285285 o2_target_root_dictionary(GPUDataTypes
286286 HEADERS ${HDRS_CINT_DATATYPES} ${HDRS_CINT_O2_ADDITIONAL}
You can’t perform that action at this time.
0 commit comments