Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions tmva/sofie/inc/TMVA/ROperator_Gemm.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -423,12 +423,9 @@ namespace SOFIE{
<< (fAttrTransB ? "true, " : "false, ")
<< (fAttrTransA ? "true, " : "false, ")
<< n << ", " << m << ", " << k << ", ";
// TODO: the cast to (float *) is not needed here from the C++ language perspective (the arguments to
// Gemm_Call are const already), but Clad bug https://github.com/vgvassilev/clad/issues/1721 is requiring
// us to do this cast to keep Clad working. Remove this hack once the Clad issue is fixed.
out << std::setprecision(std::numeric_limits<float>::max_digits10) << fAttrAlpha << ", (float*)tensor_" << fNB;
out << std::setprecision(std::numeric_limits<float>::max_digits10) << fAttrAlpha << ", tensor_" << fNB;
if (extraB) out << " + " << opName << "_B_offset";
out << ", (float*)tensor_" << fNA; // TODO: same here
out << ", tensor_" << fNA;
if (extraA) out << " + " << opName << "_A_offset";
out << ", " << std::setprecision(std::numeric_limits<float>::max_digits10) << fAttrBeta << ",";
// in the case of bias and no broadcasting needed - I need to add bias as an extra tensor in Gemm call
Expand Down
Loading