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

daisytuner / docc / 26812260585

02 Jun 2026 08:49AM UTC coverage: 60.823% (-0.05%) from 60.869%
26812260585

Pull #725

github

web-flow
Merge eceff48b9 into cd25c9278
Pull Request #725: Tensor node backport

599 of 1255 new or added lines in 51 files covered. (47.73%)

541 existing lines in 46 files now uncovered.

35094 of 57699 relevant lines covered (60.82%)

11078.43 hits per line

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

68.75
/sdfg/src/data_flow/library_nodes/math/tensor/elementwise_ops/exp_node.cpp
1
#include "sdfg/data_flow/library_nodes/math/tensor/elementwise_ops/exp_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
ExpNode::ExpNode(
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
)
23
    : ElementWiseDataflowTensorNode(
6✔
24
          element_id, debug_info, vertex, parent, LibraryNodeType_Exp, shape, "Y", {"X"}, quantization, impl_type
6✔
25
      ) {}
6✔
26

27
ElementWiseDataflowTensorNode::ElementOutput ExpNode::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
33
) {
5✔
34
    auto& input = needed_inputs.at(0);
5✔
35

36
    auto& libnode =
5✔
37
        builder.add_library_node<cmath::CMathNode>(block, debug_info_, cmath::CMathFunction::exp, input.required_type);
5✔
38
    input.consumer = &libnode;
5✔
39
    input.input_conn_index = 0;
5✔
40
    return {.producer = &libnode, .output_conn_index = 0, .type = input.required_type};
5✔
41
}
5✔
42

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

50
} // namespace tensor
51
} // namespace math
52
} // 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