Skip to content

Commit

Permalink
Merge pull request #4 from glyh/fix-add-headers
Browse files Browse the repository at this point in the history
add missing headers to pass compilation on more gcc versions
  • Loading branch information
kilinchange authored Jan 8, 2025
2 parents 6738767 + 54f1dbc commit 411714a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions include/core/data_type.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once
#include "core/common.h"
#include <cstdint>

namespace infini {

Expand Down
4 changes: 3 additions & 1 deletion include/core/graph.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
#include "core/allocator.h"
#include "core/operator.h"
#include "core/tensor.h"
#include <algorithm>
#include <cstdint>

namespace infini
{
Expand Down Expand Up @@ -116,4 +118,4 @@ namespace infini
bool sorted;
};

} // namespace infini
} // namespace infini
1 change: 1 addition & 0 deletions include/core/op_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#ifndef OP_TYPE_H
#define OP_TYPE_H

#include <cstdint>
#include <string>
#include <unordered_set>

Expand Down

0 comments on commit 411714a

Please sign in to comment.