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

daisytuner / sdfglib / 20623854511

31 Dec 2025 05:23PM UTC coverage: 39.635% (-0.08%) from 39.712%
20623854511

Pull #421

github

web-flow
Merge d9a9f51a5 into 3b72c335e
Pull Request #421: Extend tensor library nodes with primitive type support and refactor CMathNode to use enums

14997 of 49248 branches covered (30.45%)

Branch coverage included in aggregate %.

247 of 620 new or added lines in 52 files covered. (39.84%)

37 existing lines in 4 files now uncovered.

12875 of 21074 relevant lines covered (61.09%)

89.42 hits per line

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

0.0
/include/sdfg/data_flow/library_nodes/math/tensor/elementwise_ops/minimum_node.h
1
#pragma once
2

3
#include "sdfg/data_flow/library_nodes/math/tensor/elementwise_node.h"
4

5
#include "sdfg/codegen/dispatchers/block_dispatcher.h"
6
#include "sdfg/serializer/json_serializer.h"
7

8
namespace sdfg {
9
namespace math {
10
namespace tensor {
11

12
inline data_flow::LibraryNodeCode LibraryNodeType_Minimum("ml::Minimum");
13

14
class MinimumNode : public ElementWiseBinaryNode {
15
public:
16
    MinimumNode(
17
        size_t element_id,
18
        const DebugInfo& debug_info,
19
        const graph::Vertex vertex,
20
        data_flow::DataFlowGraph& parent,
21
        const std::vector<symbolic::Expression>& shape
22
    );
23

24
    bool expand_operation(
25
        builder::StructuredSDFGBuilder& builder,
26
        analysis::AnalysisManager& analysis_manager,
27
        structured_control_flow::Sequence& body,
28
        const std::string& input_name_a,
29
        const std::string& input_name_b,
30
        const std::string& output_name,
31
        const types::IType& input_type_a,
32
        const types::IType& input_type_b,
33
        const types::IType& output_type,
34
        const data_flow::Subset& subset
35
    ) override;
36

NEW
37
    bool supports_integer_types() const override { return true; }
×
38

39
    std::unique_ptr<data_flow::DataFlowNode>
40
    clone(size_t element_id, const graph::Vertex vertex, data_flow::DataFlowGraph& parent) const override;
41
};
42

43
typedef ElementWiseBinaryNodeSerializer<MinimumNode> MinimumNodeSerializer;
44

45
} // namespace tensor
46
} // namespace math
47
} // 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