• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

daisytuner / docc / 26831349290

02 Jun 2026 03:50PM UTC coverage: 61.29% (-0.01%) from 61.302%
26831349290

Pull #725

github

web-flow
Merge a7e2175c0 into 887730e20
Pull Request #725: Tensor node backport

932 of 1642 new or added lines in 52 files covered. (56.76%)

92 existing lines in 33 files now uncovered.

35584 of 58058 relevant lines covered (61.29%)

11020.18 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/sdfg/src/data_flow/library_nodes/math/tensor/elementwise_ops/erf_node.cpp
1
#include "sdfg/data_flow/library_nodes/math/tensor/elementwise_ops/erf_node.h"
2

3
#include "sdfg/analysis/analysis.h"
4
#include "sdfg/builder/structured_sdfg_builder.h"
5

6
#include "sdfg/analysis/scope_analysis.h"
7

8
#include "sdfg/data_flow/library_nodes/math/cmath/cmath_node.h"
9

10
namespace sdfg {
11
namespace math {
12
namespace tensor {
13

14
ErfNode::ErfNode(
15
    size_t element_id,
16
    const DebugInfo& debug_info,
17
    const graph::Vertex vertex,
18
    data_flow::DataFlowGraph& parent,
19
    const std::vector<symbolic::Expression>& shape,
20
    QuantizationType quantization,
21
    const data_flow::ImplementationType& impl_type
22
)
NEW
23
    : ElementWiseDataflowTensorNode(
×
NEW
24
          element_id, debug_info, vertex, parent, LibraryNodeType_Erf, shape, "Y", {"X"}, quantization, impl_type
×
NEW
25
      ) {}
×
26

27
ElementWiseDataflowTensorNode::ElementOutput ErfNode::expand_operation_dataflow(
28
    builder::StructuredSDFGBuilder& builder,
29
    analysis::AnalysisManager& analysis_manager,
30
    Block& block,
31
    std::vector<ElementInput>& needed_inputs,
32
    types::PrimitiveType expected_type
UNCOV
33
) {
×
NEW
34
    auto& input = needed_inputs.at(0);
×
35

NEW
36
    throw std::runtime_error("Erf: untested expand");
×
37

NEW
38
    auto& libnode =
×
NEW
39
        builder.add_library_node<cmath::CMathNode>(block, debug_info_, cmath::CMathFunction::erf, input.required_type);
×
NEW
40
    input.consumer = &libnode;
×
NEW
41
    input.input_conn_index = 0;
×
NEW
42
    return {.producer = &libnode, .output_conn_index = 0, .type = input.required_type};
×
UNCOV
43
}
×
44

45
std::unique_ptr<data_flow::DataFlowNode> ErfNode::
46
    clone(size_t element_id, const graph::Vertex vertex, data_flow::DataFlowGraph& parent) const {
×
NEW
47
    return std::unique_ptr<data_flow::DataFlowNode>(new ErfNode(
×
NEW
48
        element_id, this->debug_info(), vertex, parent, this->shape_, fixed_quantization_, implementation_type_
×
NEW
49
    ));
×
UNCOV
50
}
×
51

52
} // namespace tensor
53
} // namespace math
54
} // namespace sdfg
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc