Created
January 7, 2025 08:48
-
-
Save glyh/e2ca0b404504ac7b40d41c0cacc027cd to your computer and use it in GitHub Desktop.
infinitensor build failure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p build/Release | |
cd build/Release && cmake -DCMAKE_BUILD_TYPE=Release -DUSE_CUDA=OFF -DUSE_BANG=OFF -DUSE_KUNLUN=OFF -DUSE_ASCEND=OFF -DUSE_BACKTRACE=ON -DBUILD_TEST=ON -DBUILD_DIST=OFF -DBUILD_NNET=OFF ../.. && make -j8 | |
Configuring for Release build. | |
-- Found Python: /sbin/python3.13 (found version "3.13.1") found components: Interpreter Development Development.Module Development.Embed | |
CMake Deprecation Warning at 3rd-party/pybind11/CMakeLists.txt:8 (cmake_minimum_required): | |
Compatibility with CMake < 3.10 will be removed from a future version of | |
CMake. | |
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | |
to tell CMake that the project requires at least <min> but has been updated | |
to work with policies introduced by <max> or earlier. | |
-- pybind11 v2.10.3 | |
CMake Deprecation Warning at 3rd-party/nlohmann_json_cmake_fetchcontent/CMakeLists.txt:1 (cmake_minimum_required): | |
Compatibility with CMake < 3.10 will be removed from a future version of | |
CMake. | |
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | |
to tell CMake that the project requires at least <min> but has been updated | |
to work with policies introduced by <max> or earlier. | |
-- Using the single-header code from /home/lyh/PullGround/InfiniTensor/3rd-party/nlohmann_json_cmake_fetchcontent/single_include/ | |
CMake Deprecation Warning at 3rd-party/googletest/CMakeLists.txt:4 (cmake_minimum_required): | |
Compatibility with CMake < 3.10 will be removed from a future version of | |
CMake. | |
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | |
to tell CMake that the project requires at least <min> but has been updated | |
to work with policies introduced by <max> or earlier. | |
CMake Deprecation Warning at 3rd-party/googletest/googletest/CMakeLists.txt:49 (cmake_minimum_required): | |
Compatibility with CMake < 3.10 will be removed from a future version of | |
CMake. | |
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | |
to tell CMake that the project requires at least <min> but has been updated | |
to work with policies introduced by <max> or earlier. | |
-- Found Python: /sbin/python3.13 (found version "3.13.1") found components: Interpreter | |
CMake Deprecation Warning at 3rd-party/backward-cpp/CMakeLists.txt:23 (cmake_minimum_required): | |
Compatibility with CMake < 3.10 will be removed from a future version of | |
CMake. | |
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax | |
to tell CMake that the project requires at least <min> but has been updated | |
to work with policies introduced by <max> or earlier. | |
-- Could NOT find libdwarf (missing: LIBDWARF_LIBRARY LIBDWARF_INCLUDE_DIR) | |
-- Configuring done (0.1s) | |
-- Generating done (0.0s) | |
-- Build files have been written to: /home/lyh/PullGround/InfiniTensor/build/Release | |
make[1]: Entering directory '/home/lyh/PullGround/InfiniTensor/build/Release' | |
[ 1%] Built target backward | |
[ 2%] Built target gtest | |
[ 3%] Built target backward_object | |
[ 4%] Building CXX object CMakeFiles/InfiniTensor.dir/src/core/common.cc.o | |
[ 4%] Building CXX object CMakeFiles/InfiniTensor.dir/src/core/blob.cc.o | |
[ 4%] Building CXX object CMakeFiles/InfiniTensor.dir/src/core/data_type.cc.o | |
[ 5%] Building CXX object CMakeFiles/InfiniTensor.dir/src/core/graph_handler.cc.o | |
[ 5%] Building CXX object CMakeFiles/InfiniTensor.dir/src/core/graph.cc.o | |
[ 6%] Building CXX object CMakeFiles/InfiniTensor.dir/src/core/dummy_mutator.cc.o | |
[ 7%] Building CXX object CMakeFiles/InfiniTensor.dir/src/core/graph_match.cc.o | |
[ 8%] Built target gtest_main | |
[ 8%] Building CXX object CMakeFiles/InfiniTensor.dir/src/core/lazy_allocator.cc.o | |
In file included from /home/lyh/PullGround/InfiniTensor/src/core/common.cc:1: | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:33:18: error: ‘uint64_t’ does not name a type | |
33 | using HashType = uint64_t; // compatible with std::hash | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:16:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
15 | #include <variant> | |
+++ |+#include <cstdint> | |
16 | #include <vector> | |
In file included from /home/lyh/PullGround/InfiniTensor/include/core/runtime.h:2, | |
from /home/lyh/PullGround/InfiniTensor/include/core/lazy_allocator.h:2, | |
from /home/lyh/PullGround/InfiniTensor/include/core/graph.h:2, | |
from /home/lyh/PullGround/InfiniTensor/include/core/graph_handler.h:3, | |
from /home/lyh/PullGround/InfiniTensor/src/core/graph_handler.cc:1: | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:33:18: error: ‘uint64_t’ does not name a type | |
33 | using HashType = uint64_t; // compatible with std::hash | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:16:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
15 | #include <variant> | |
+++ |+#include <cstdint> | |
16 | #include <vector> | |
In file included from /home/lyh/PullGround/InfiniTensor/include/core/runtime.h:2, | |
from /home/lyh/PullGround/InfiniTensor/include/core/lazy_allocator.h:2, | |
from /home/lyh/PullGround/InfiniTensor/include/core/graph.h:2, | |
from /home/lyh/PullGround/InfiniTensor/include/core/mutator.h:2, | |
from /home/lyh/PullGround/InfiniTensor/include/core/dummy_mutator.h:2, | |
from /home/lyh/PullGround/InfiniTensor/src/core/dummy_mutator.cc:1: | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:33:18: error: ‘uint64_t’ does not name a type | |
33 | using HashType = uint64_t; // compatible with std::hash | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:16:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
15 | #include <variant> | |
+++ |+#include <cstdint> | |
16 | #include <vector> | |
make[3]: *** [CMakeFiles/InfiniTensor.dir/build.make:93: CMakeFiles/InfiniTensor.dir/src/core/common.cc.o] Error 1 | |
make[3]: *** Waiting for unfinished jobs.... | |
In file included from /home/lyh/PullGround/InfiniTensor/include/core/runtime.h:2, | |
from /home/lyh/PullGround/InfiniTensor/include/core/lazy_allocator.h:2, | |
from /home/lyh/PullGround/InfiniTensor/include/core/graph.h:2, | |
from /home/lyh/PullGround/InfiniTensor/src/core/graph.cc:1: | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:33:18: error: ‘uint64_t’ does not name a type | |
33 | using HashType = uint64_t; // compatible with std::hash | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:16:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
15 | #include <variant> | |
+++ |+#include <cstdint> | |
16 | #include <vector> | |
In file included from /home/lyh/PullGround/InfiniTensor/include/core/blob.h:2, | |
from /home/lyh/PullGround/InfiniTensor/src/core/blob.cc:1: | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:33:18: error: ‘uint64_t’ does not name a type | |
33 | using HashType = uint64_t; // compatible with std::hash | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:16:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
15 | #include <variant> | |
+++ |+#include <cstdint> | |
16 | #include <vector> | |
In file included from /home/lyh/PullGround/InfiniTensor/include/core/data_type.h:2, | |
from /home/lyh/PullGround/InfiniTensor/src/core/data_type.cc:1: | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:33:18: error: ‘uint64_t’ does not name a type | |
33 | using HashType = uint64_t; // compatible with std::hash | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:16:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
15 | #include <variant> | |
+++ |+#include <cstdint> | |
16 | #include <vector> | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:28:53: error: ‘uint8_t’ was not declared in this scope | |
28 | sizeof(uint8_t), | |
| ^~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:3:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
2 | #include "core/common.h" | |
+++ |+#include <cstdint> | |
3 | | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:30:53: error: ‘uint16_t’ was not declared in this scope | |
30 | sizeof(uint16_t), | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:30:53: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:36:53: error: ‘uint16_t’ was not declared in this scope | |
36 | sizeof(uint16_t), | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:36:53: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:38:53: error: ‘uint32_t’ was not declared in this scope | |
38 | sizeof(uint32_t), | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:38:53: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:39:53: error: ‘uint64_t’ was not declared in this scope | |
39 | sizeof(uint64_t), | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:39:53: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:42:53: error: ‘uint16_t’ was not declared in this scope | |
42 | sizeof(uint16_t)}; | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:42:53: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:76:38: error: ‘uint32_t’ was not declared in this scope | |
76 | template <> inline int DataType::get<uint32_t>() { return 1; } | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:76:38: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:76:24: error: template-id ‘get<<expression error> >’ for ‘int infini::DataType::get()’ does not match any template declaration | |
76 | template <> inline int DataType::get<uint32_t>() { return 1; } | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:64:38: note: candidate is: ‘template<class T> static int infini::DataType::get()’ | |
64 | template <typename T> static int get() { | |
| ^~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:77:38: error: ‘uint8_t’ was not declared in this scope | |
77 | template <> inline int DataType::get<uint8_t>() { return 2; } | |
| ^~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:77:38: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:77:24: error: template-id ‘get<<expression error> >’ for ‘int infini::DataType::get()’ does not match any template declaration | |
77 | template <> inline int DataType::get<uint8_t>() { return 2; } | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:64:38: note: candidate is: ‘template<class T> static int infini::DataType::get()’ | |
64 | template <typename T> static int get() { | |
| ^~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:79:38: error: ‘uint16_t’ was not declared in this scope | |
79 | template <> inline int DataType::get<uint16_t>() { return 4; } | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:79:38: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:79:24: error: template-id ‘get<<expression error> >’ for ‘int infini::DataType::get()’ does not match any template declaration | |
79 | template <> inline int DataType::get<uint16_t>() { return 4; } | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:64:38: note: candidate is: ‘template<class T> static int infini::DataType::get()’ | |
64 | template <typename T> static int get() { | |
| ^~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:83:38: error: ‘uint64_t’ was not declared in this scope | |
83 | template <> inline int DataType::get<uint64_t>() { return 8; } | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:83:38: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:83:24: error: template-id ‘get<<expression error> >’ for ‘int infini::DataType::get()’ does not match any template declaration | |
83 | template <> inline int DataType::get<uint64_t>() { return 8; } | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:64:38: note: candidate is: ‘template<class T> static int infini::DataType::get()’ | |
64 | template <typename T> static int get() { | |
| ^~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:89:38: error: ‘uint8_t’ does not name a type | |
89 | template <> struct DT<2> { using t = uint8_t; }; | |
| ^~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:89:38: note: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:91:38: error: ‘uint16_t’ does not name a type | |
91 | template <> struct DT<4> { using t = uint16_t; }; | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:91:38: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:97:39: error: ‘uint16_t’ does not name a type | |
97 | template <> struct DT<10> { using t = uint16_t; }; | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:97:39: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:99:39: error: ‘uint32_t’ does not name a type | |
99 | template <> struct DT<12> { using t = uint32_t; }; | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:99:39: note: ‘uint32_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:100:39: error: ‘uint64_t’ does not name a type | |
100 | template <> struct DT<13> { using t = uint64_t; }; | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:100:39: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:101:39: error: ‘uint16_t’ does not name a type | |
101 | template <> struct DT<16> { using t = uint16_t; }; | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/data_type.h:101:39: note: ‘uint16_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
make[3]: *** [CMakeFiles/InfiniTensor.dir/build.make:79: CMakeFiles/InfiniTensor.dir/src/core/blob.cc.o] Error 1 | |
make[3]: *** [CMakeFiles/InfiniTensor.dir/build.make:107: CMakeFiles/InfiniTensor.dir/src/core/data_type.cc.o] Error 1 | |
In file included from /home/lyh/PullGround/InfiniTensor/include/core/runtime.h:2, | |
from /home/lyh/PullGround/InfiniTensor/include/core/lazy_allocator.h:2, | |
from /home/lyh/PullGround/InfiniTensor/include/core/graph.h:2, | |
from /home/lyh/PullGround/InfiniTensor/include/core/graph_match.h:3, | |
from /home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc:1: | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:33:18: error: ‘uint64_t’ does not name a type | |
33 | using HashType = uint64_t; // compatible with std::hash | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:16:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
15 | #include <variant> | |
+++ |+#include <cstdint> | |
16 | #include <vector> | |
In file included from /home/lyh/PullGround/InfiniTensor/include/core/runtime.h:2, | |
from /home/lyh/PullGround/InfiniTensor/include/core/lazy_allocator.h:2, | |
from /home/lyh/PullGround/InfiniTensor/src/core/lazy_allocator.cc:1: | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:33:18: error: ‘uint64_t’ does not name a type | |
33 | using HashType = uint64_t; // compatible with std::hash | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:16:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ | |
15 | #include <variant> | |
+++ |+#include <cstdint> | |
16 | #include <vector> | |
In file included from /home/lyh/PullGround/InfiniTensor/include/core/graph.h:3: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:10:5: error: ‘HashType’ does not name a type | |
10 | HashType hash; | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:18:23: error: expected ‘)’ before ‘hash’ | |
18 | OpPerfKey(HashType hash, OpType opType, vector<int> attrs = {}) | |
| ~ ^~~~~ | |
| ) | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:18:67: error: expected unqualified-id before ‘)’ token | |
18 | OpPerfKey(HashType hash, OpType opType, vector<int> attrs = {}) | |
| ^ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h: In member function ‘bool infini::OpPerfKey::operator==(const infini::OpPerfKey&) const’: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:21:13: error: ‘hash’ was not declared in this scope; did you mean ‘std::hash’? | |
21 | if (hash != rhs.hash) | |
| ^~~~ | |
| std::hash | |
In file included from /usr/include/c++/14.2.1/string_view:50, | |
from /usr/include/c++/14.2.1/bits/basic_string.h:47, | |
from /usr/include/c++/14.2.1/string:54, | |
from /usr/include/c++/14.2.1/stdexcept:39, | |
from /home/lyh/PullGround/InfiniTensor/include/utils/exception.h:2, | |
from /home/lyh/PullGround/InfiniTensor/include/core/common.h:2: | |
/usr/include/c++/14.2.1/bits/functional_hash.h:59:12: note: ‘std::hash’ declared here | |
59 | struct hash; | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:21:25: error: ‘const struct infini::OpPerfKey’ has no member named ‘hash’ | |
21 | if (hash != rhs.hash) | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h: In member function ‘bool infini::OpPerfKey::operator<(const infini::OpPerfKey&) const’: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:32:13: error: ‘hash’ was not declared in this scope; did you mean ‘std::hash’? | |
32 | if (hash != rhs.hash) | |
| ^~~~ | |
| std::hash | |
/usr/include/c++/14.2.1/bits/functional_hash.h:59:12: note: ‘std::hash’ declared here | |
59 | struct hash; | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:32:25: error: ‘const struct infini::OpPerfKey’ has no member named ‘hash’ | |
32 | if (hash != rhs.hash) | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:33:31: error: ‘const struct infini::OpPerfKey’ has no member named ‘hash’ | |
33 | return hash < rhs.hash; | |
| ^~~~ | |
In file included from /home/lyh/PullGround/InfiniTensor/include/core/graph.h:3: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:10:5: error: ‘HashType’ does not name a type | |
10 | HashType hash; | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:18:23: error: expected ‘)’ before ‘hash’ | |
18 | OpPerfKey(HashType hash, OpType opType, vector<int> attrs = {}) | |
| ~ ^~~~~ | |
| ) | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:18:67: error: expected unqualified-id before ‘)’ token | |
18 | OpPerfKey(HashType hash, OpType opType, vector<int> attrs = {}) | |
| ^ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h: At global scope: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:73:5: error: ‘HashType’ does not name a type | |
73 | HashType hash() const; | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h: In member function ‘bool infini::OpPerfKey::operator==(const infini::OpPerfKey&) const’: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:21:13: error: ‘hash’ was not declared in this scope; did you mean ‘std::hash’? | |
21 | if (hash != rhs.hash) | |
| ^~~~ | |
| std::hash | |
In file included from /usr/include/c++/14.2.1/string_view:50, | |
from /usr/include/c++/14.2.1/bits/basic_string.h:47, | |
from /usr/include/c++/14.2.1/string:54, | |
from /usr/include/c++/14.2.1/stdexcept:39, | |
from /home/lyh/PullGround/InfiniTensor/include/utils/exception.h:2, | |
from /home/lyh/PullGround/InfiniTensor/include/core/common.h:2: | |
/usr/include/c++/14.2.1/bits/functional_hash.h:59:12: note: ‘std::hash’ declared here | |
59 | struct hash; | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:21:25: error: ‘const struct infini::OpPerfKey’ has no member named ‘hash’ | |
21 | if (hash != rhs.hash) | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h: In member function ‘bool infini::OpPerfKey::operator<(const infini::OpPerfKey&) const’: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:32:13: error: ‘hash’ was not declared in this scope; did you mean ‘std::hash’? | |
32 | if (hash != rhs.hash) | |
| ^~~~ | |
| std::hash | |
/usr/include/c++/14.2.1/bits/functional_hash.h:59:12: note: ‘std::hash’ declared here | |
59 | struct hash; | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:32:25: error: ‘const struct infini::OpPerfKey’ has no member named ‘hash’ | |
32 | if (hash != rhs.hash) | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:33:31: error: ‘const struct infini::OpPerfKey’ has no member named ‘hash’ | |
33 | return hash < rhs.hash; | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h: In member function ‘std::size_t std::hash<infini::OpPerfKey>::operator()(const infini::OpPerfKey&) const’: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:147:72: error: ‘const struct infini::OpPerfKey’ has no member named ‘hash’ | |
147 | size_t operator()(const infini::OpPerfKey &key) const { return key.hash; } | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h: At global scope: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:73:5: error: ‘HashType’ does not name a type | |
73 | HashType hash() const; | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h: In member function ‘void infini::GraphObj::removeOperator(infini::Operator)’: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h:32:28: error: no matching function for call to ‘find(std::vector<std::shared_ptr<infini::OperatorObj> >::iterator, std::vector<std::shared_ptr<infini::OperatorObj> >::iterator, infini::Operator&)’ | |
32 | auto it = std::find(ops.begin(), ops.end(), op); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/c++/14.2.1/bits/locale_facets.h:48, | |
from /usr/include/c++/14.2.1/bits/basic_ios.h:37, | |
from /usr/include/c++/14.2.1/ios:46, | |
from /usr/include/c++/14.2.1/ostream:40, | |
from /usr/include/c++/14.2.1/iostream:41, | |
from /home/lyh/PullGround/InfiniTensor/include/core/common.h:5: | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’ | |
435 | find(istreambuf_iterator<_CharT> __first, | |
| ^~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h:32:28: note: ‘__gnu_cxx::__normal_iterator<std::shared_ptr<infini::OperatorObj>*, std::vector<std::shared_ptr<infini::OperatorObj> > >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ | |
32 | auto it = std::find(ops.begin(), ops.end(), op); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h: In member function ‘void infini::GraphObj::removeTensor(infini::Tensor)’: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h:38:28: error: no matching function for call to ‘find(std::vector<std::shared_ptr<infini::TensorObj> >::iterator, std::vector<std::shared_ptr<infini::TensorObj> >::iterator, infini::Tensor&)’ | |
38 | auto it = std::find(tensors.begin(), tensors.end(), tensor); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’ | |
435 | find(istreambuf_iterator<_CharT> __first, | |
| ^~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h:38:28: note: ‘__gnu_cxx::__normal_iterator<std::shared_ptr<infini::TensorObj>*, std::vector<std::shared_ptr<infini::TensorObj> > >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ | |
38 | auto it = std::find(tensors.begin(), tensors.end(), tensor); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h: In member function ‘std::size_t std::hash<infini::OpPerfKey>::operator()(const infini::OpPerfKey&) const’: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:147:72: error: ‘const struct infini::OpPerfKey’ has no member named ‘hash’ | |
147 | size_t operator()(const infini::OpPerfKey &key) const { return key.hash; } | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h: In member function ‘void infini::GraphObj::removeOperator(infini::Operator)’: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h:32:28: error: no matching function for call to ‘find(std::vector<std::shared_ptr<infini::OperatorObj> >::iterator, std::vector<std::shared_ptr<infini::OperatorObj> >::iterator, infini::Operator&)’ | |
32 | auto it = std::find(ops.begin(), ops.end(), op); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/c++/14.2.1/bits/locale_facets.h:48, | |
from /usr/include/c++/14.2.1/bits/basic_ios.h:37, | |
from /usr/include/c++/14.2.1/ios:46, | |
from /usr/include/c++/14.2.1/ostream:40, | |
from /usr/include/c++/14.2.1/iostream:41, | |
from /home/lyh/PullGround/InfiniTensor/include/core/common.h:5: | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’ | |
435 | find(istreambuf_iterator<_CharT> __first, | |
| ^~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h:32:28: note: ‘__gnu_cxx::__normal_iterator<std::shared_ptr<infini::OperatorObj>*, std::vector<std::shared_ptr<infini::OperatorObj> > >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ | |
32 | auto it = std::find(ops.begin(), ops.end(), op); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h: In member function ‘void infini::GraphObj::removeTensor(infini::Tensor)’: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h:38:28: error: no matching function for call to ‘find(std::vector<std::shared_ptr<infini::TensorObj> >::iterator, std::vector<std::shared_ptr<infini::TensorObj> >::iterator, infini::Tensor&)’ | |
38 | auto it = std::find(tensors.begin(), tensors.end(), tensor); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’ | |
435 | find(istreambuf_iterator<_CharT> __first, | |
| ^~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h:38:28: note: ‘__gnu_cxx::__normal_iterator<std::shared_ptr<infini::TensorObj>*, std::vector<std::shared_ptr<infini::TensorObj> > >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ | |
38 | auto it = std::find(tensors.begin(), tensors.end(), tensor); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/lyh/PullGround/InfiniTensor/include/core/graph.h:3: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:10:5: error: ‘HashType’ does not name a type | |
10 | HashType hash; | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:18:23: error: expected ‘)’ before ‘hash’ | |
18 | OpPerfKey(HashType hash, OpType opType, vector<int> attrs = {}) | |
| ~ ^~~~~ | |
| ) | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:18:67: error: expected unqualified-id before ‘)’ token | |
18 | OpPerfKey(HashType hash, OpType opType, vector<int> attrs = {}) | |
| ^ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h: In member function ‘bool infini::OpPerfKey::operator==(const infini::OpPerfKey&) const’: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:21:13: error: ‘hash’ was not declared in this scope; did you mean ‘std::hash’? | |
21 | if (hash != rhs.hash) | |
| ^~~~ | |
| std::hash | |
In file included from /usr/include/c++/14.2.1/string_view:50, | |
from /usr/include/c++/14.2.1/bits/basic_string.h:47, | |
from /usr/include/c++/14.2.1/string:54, | |
from /usr/include/c++/14.2.1/stdexcept:39, | |
from /home/lyh/PullGround/InfiniTensor/include/utils/exception.h:2, | |
from /home/lyh/PullGround/InfiniTensor/include/core/common.h:2: | |
/usr/include/c++/14.2.1/bits/functional_hash.h:59:12: note: ‘std::hash’ declared here | |
59 | struct hash; | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:21:25: error: ‘const struct infini::OpPerfKey’ has no member named ‘hash’ | |
21 | if (hash != rhs.hash) | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h: In member function ‘bool infini::OpPerfKey::operator<(const infini::OpPerfKey&) const’: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:32:13: error: ‘hash’ was not declared in this scope; did you mean ‘std::hash’? | |
32 | if (hash != rhs.hash) | |
| ^~~~ | |
| std::hash | |
/usr/include/c++/14.2.1/bits/functional_hash.h:59:12: note: ‘std::hash’ declared here | |
59 | struct hash; | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:32:25: error: ‘const struct infini::OpPerfKey’ has no member named ‘hash’ | |
32 | if (hash != rhs.hash) | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:33:31: error: ‘const struct infini::OpPerfKey’ has no member named ‘hash’ | |
33 | return hash < rhs.hash; | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h: At global scope: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:73:5: error: ‘HashType’ does not name a type | |
73 | HashType hash() const; | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h: In member function ‘std::size_t std::hash<infini::OpPerfKey>::operator()(const infini::OpPerfKey&) const’: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:147:72: error: ‘const struct infini::OpPerfKey’ has no member named ‘hash’ | |
147 | size_t operator()(const infini::OpPerfKey &key) const { return key.hash; } | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h: In member function ‘void infini::GraphObj::removeOperator(infini::Operator)’: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h:32:28: error: no matching function for call to ‘find(std::vector<std::shared_ptr<infini::OperatorObj> >::iterator, std::vector<std::shared_ptr<infini::OperatorObj> >::iterator, infini::Operator&)’ | |
32 | auto it = std::find(ops.begin(), ops.end(), op); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/c++/14.2.1/bits/locale_facets.h:48, | |
from /usr/include/c++/14.2.1/bits/basic_ios.h:37, | |
from /usr/include/c++/14.2.1/ios:46, | |
from /usr/include/c++/14.2.1/ostream:40, | |
from /usr/include/c++/14.2.1/iostream:41, | |
from /home/lyh/PullGround/InfiniTensor/include/core/common.h:5: | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’ | |
435 | find(istreambuf_iterator<_CharT> __first, | |
| ^~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h:32:28: note: ‘__gnu_cxx::__normal_iterator<std::shared_ptr<infini::OperatorObj>*, std::vector<std::shared_ptr<infini::OperatorObj> > >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ | |
32 | auto it = std::find(ops.begin(), ops.end(), op); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h: In member function ‘void infini::GraphObj::removeTensor(infini::Tensor)’: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h:38:28: error: no matching function for call to ‘find(std::vector<std::shared_ptr<infini::TensorObj> >::iterator, std::vector<std::shared_ptr<infini::TensorObj> >::iterator, infini::Tensor&)’ | |
38 | auto it = std::find(tensors.begin(), tensors.end(), tensor); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’ | |
435 | find(istreambuf_iterator<_CharT> __first, | |
| ^~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h:38:28: note: ‘__gnu_cxx::__normal_iterator<std::shared_ptr<infini::TensorObj>*, std::vector<std::shared_ptr<infini::TensorObj> > >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ | |
38 | auto it = std::find(tensors.begin(), tensors.end(), tensor); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/lyh/PullGround/InfiniTensor/include/core/graph.h:3: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:10:5: error: ‘HashType’ does not name a type | |
10 | HashType hash; | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:18:23: error: expected ‘)’ before ‘hash’ | |
18 | OpPerfKey(HashType hash, OpType opType, vector<int> attrs = {}) | |
| ~ ^~~~~ | |
| ) | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:18:67: error: expected unqualified-id before ‘)’ token | |
18 | OpPerfKey(HashType hash, OpType opType, vector<int> attrs = {}) | |
| ^ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h: In member function ‘bool infini::OpPerfKey::operator==(const infini::OpPerfKey&) const’: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:21:13: error: ‘hash’ was not declared in this scope; did you mean ‘std::hash’? | |
21 | if (hash != rhs.hash) | |
| ^~~~ | |
| std::hash | |
In file included from /usr/include/c++/14.2.1/string_view:50, | |
from /usr/include/c++/14.2.1/bits/basic_string.h:47, | |
from /usr/include/c++/14.2.1/string:54, | |
from /usr/include/c++/14.2.1/stdexcept:39, | |
from /home/lyh/PullGround/InfiniTensor/include/utils/exception.h:2, | |
from /home/lyh/PullGround/InfiniTensor/include/core/common.h:2: | |
/usr/include/c++/14.2.1/bits/functional_hash.h:59:12: note: ‘std::hash’ declared here | |
59 | struct hash; | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:21:25: error: ‘const struct infini::OpPerfKey’ has no member named ‘hash’ | |
21 | if (hash != rhs.hash) | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h: In member function ‘bool infini::OpPerfKey::operator<(const infini::OpPerfKey&) const’: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:32:13: error: ‘hash’ was not declared in this scope; did you mean ‘std::hash’? | |
32 | if (hash != rhs.hash) | |
| ^~~~ | |
| std::hash | |
/usr/include/c++/14.2.1/bits/functional_hash.h:59:12: note: ‘std::hash’ declared here | |
59 | struct hash; | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:32:25: error: ‘const struct infini::OpPerfKey’ has no member named ‘hash’ | |
32 | if (hash != rhs.hash) | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:33:31: error: ‘const struct infini::OpPerfKey’ has no member named ‘hash’ | |
33 | return hash < rhs.hash; | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h: At global scope: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:73:5: error: ‘HashType’ does not name a type | |
73 | HashType hash() const; | |
| ^~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h: In member function ‘std::size_t std::hash<infini::OpPerfKey>::operator()(const infini::OpPerfKey&) const’: | |
/home/lyh/PullGround/InfiniTensor/include/core/operator.h:147:72: error: ‘const struct infini::OpPerfKey’ has no member named ‘hash’ | |
147 | size_t operator()(const infini::OpPerfKey &key) const { return key.hash; } | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h: In member function ‘void infini::GraphObj::removeOperator(infini::Operator)’: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h:32:28: error: no matching function for call to ‘find(std::vector<std::shared_ptr<infini::OperatorObj> >::iterator, std::vector<std::shared_ptr<infini::OperatorObj> >::iterator, infini::Operator&)’ | |
32 | auto it = std::find(ops.begin(), ops.end(), op); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/c++/14.2.1/bits/locale_facets.h:48, | |
from /usr/include/c++/14.2.1/bits/basic_ios.h:37, | |
from /usr/include/c++/14.2.1/ios:46, | |
from /usr/include/c++/14.2.1/ostream:40, | |
from /usr/include/c++/14.2.1/iostream:41, | |
from /home/lyh/PullGround/InfiniTensor/include/core/common.h:5: | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’ | |
435 | find(istreambuf_iterator<_CharT> __first, | |
| ^~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h:32:28: note: ‘__gnu_cxx::__normal_iterator<std::shared_ptr<infini::OperatorObj>*, std::vector<std::shared_ptr<infini::OperatorObj> > >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ | |
32 | auto it = std::find(ops.begin(), ops.end(), op); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h: In member function ‘void infini::GraphObj::removeTensor(infini::Tensor)’: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h:38:28: error: no matching function for call to ‘find(std::vector<std::shared_ptr<infini::TensorObj> >::iterator, std::vector<std::shared_ptr<infini::TensorObj> >::iterator, infini::Tensor&)’ | |
38 | auto it = std::find(tensors.begin(), tensors.end(), tensor); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’ | |
435 | find(istreambuf_iterator<_CharT> __first, | |
| ^~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph.h:38:28: note: ‘__gnu_cxx::__normal_iterator<std::shared_ptr<infini::TensorObj>*, std::vector<std::shared_ptr<infini::TensorObj> > >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ | |
38 | auto it = std::find(tensors.begin(), tensors.end(), tensor); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/graph_match.h: In member function ‘bool infini::SubGraphObj::isInputFromOutside(infini::Tensor) const’: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph_match.h:15:25: error: no matching function for call to ‘find(std::vector<std::shared_ptr<infini::TensorObj> >::const_iterator, std::vector<std::shared_ptr<infini::TensorObj> >::const_iterator, infini::Tensor&)’ | |
15 | return std::find(ins.begin(), ins.end(), t) != ins.end(); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’ | |
435 | find(istreambuf_iterator<_CharT> __first, | |
| ^~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph_match.h:15:25: note: ‘__gnu_cxx::__normal_iterator<const std::shared_ptr<infini::TensorObj>*, std::vector<std::shared_ptr<infini::TensorObj> > >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ | |
15 | return std::find(ins.begin(), ins.end(), t) != ins.end(); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/graph_match.h: In member function ‘bool infini::SubGraphObj::isOutput2Outside(infini::Tensor) const’: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph_match.h:18:25: error: no matching function for call to ‘find(std::vector<std::shared_ptr<infini::TensorObj> >::const_iterator, std::vector<std::shared_ptr<infini::TensorObj> >::const_iterator, infini::Tensor&)’ | |
18 | return std::find(outs.begin(), outs.end(), t) != outs.end(); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’ | |
435 | find(istreambuf_iterator<_CharT> __first, | |
| ^~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph_match.h:18:25: note: ‘__gnu_cxx::__normal_iterator<const std::shared_ptr<infini::TensorObj>*, std::vector<std::shared_ptr<infini::TensorObj> > >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ | |
18 | return std::find(outs.begin(), outs.end(), t) != outs.end(); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/graph_match.h: In member function ‘bool infini::SubGraphObj::isHead(const infini::Operator&) const’: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph_match.h:23:26: error: no matching function for call to ‘find(std::vector<std::shared_ptr<infini::OperatorObj> >::iterator, std::vector<std::shared_ptr<infini::OperatorObj> >::iterator, const infini::Operator&)’ | |
23 | if (std::find(ops.begin(), ops.end(), op) != ops.end()) | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’ | |
435 | find(istreambuf_iterator<_CharT> __first, | |
| ^~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed: | |
/home/lyh/PullGround/InfiniTensor/include/core/graph_match.h:23:26: note: ‘__gnu_cxx::__normal_iterator<std::shared_ptr<infini::OperatorObj>*, std::vector<std::shared_ptr<infini::OperatorObj> > >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ | |
23 | if (std::find(ops.begin(), ops.end(), op) != ops.end()) | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/lyh/PullGround/InfiniTensor/src/core/graph_handler.cc:25: | |
/home/lyh/PullGround/InfiniTensor/include/operators/slice.h: In member function ‘infini::Shape infini::SliceObj::getStarts() const’: | |
/home/lyh/PullGround/InfiniTensor/include/operators/slice.h:41:14: error: ‘transform’ is not a member of ‘std’ | |
41 | std::transform(axes.begin(), axes.end(), ans.begin(), | |
| ^~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/operators/slice.h: In member function ‘infini::Shape infini::SliceObj::getEnds() const’: | |
/home/lyh/PullGround/InfiniTensor/include/operators/slice.h:47:14: error: ‘transform’ is not a member of ‘std’ | |
47 | std::transform(axes.begin(), axes.end(), ans.begin(), | |
| ^~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/operators/slice.h: In member function ‘infini::Shape infini::SliceObj::getSteps() const’: | |
/home/lyh/PullGround/InfiniTensor/include/operators/slice.h:53:14: error: ‘transform’ is not a member of ‘std’ | |
53 | std::transform(axes.begin(), axes.end(), ans.begin(), | |
| ^~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc: In member function ‘std::vector<std::shared_ptr<infini::GraphMatchObj> > infini::SubGraphRewriter::findMatch(const infini::SubGraph&)’: | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc:82:26: error: no matching function for call to ‘find(std::vector<std::shared_ptr<infini::OperatorObj> >::const_iterator, std::vector<std::shared_ptr<infini::OperatorObj> >::const_iterator, std::shared_ptr<infini::OperatorObj>&)’ | |
82 | if (std::find(pattern->getOperators().begin(), | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
83 | pattern->getOperators().end(), | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
84 | opHead) == pattern->getOperators().end()) | |
| ~~~~~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’ | |
435 | find(istreambuf_iterator<_CharT> __first, | |
| ^~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed: | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc:82:26: note: ‘__gnu_cxx::__normal_iterator<const std::shared_ptr<infini::OperatorObj>*, std::vector<std::shared_ptr<infini::OperatorObj> > >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ | |
82 | if (std::find(pattern->getOperators().begin(), | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
83 | pattern->getOperators().end(), | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
84 | opHead) == pattern->getOperators().end()) | |
| ~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc: In member function ‘bool infini::SubGraphRewriter::MatchNode(const infini::Operator&, const infini::Operator&, bool, bool) const’: | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc:226:12: error: ‘using std::__shared_ptr_access<infini::OperatorObj, __gnu_cxx::_S_atomic, false, false>::element_type = class infini::OperatorObj’ {aka ‘class infini::OperatorObj’} has no member named ‘hash’ | |
226 | if (a->hash() != b->hash()) | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc:226:25: error: ‘using std::__shared_ptr_access<infini::OperatorObj, __gnu_cxx::_S_atomic, false, false>::element_type = class infini::OperatorObj’ {aka ‘class infini::OperatorObj’} has no member named ‘hash’ | |
226 | if (a->hash() != b->hash()) | |
| ^~~~ | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc: In member function ‘void infini::SubGraphRewriter::updateMatchedGraph(const infini::MatchGraph&, infini::OpLists&, std::vector<std::shared_ptr<infini::GraphMatchObj> >&, infini::Operator)’: | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc:245:33: error: no matching function for call to ‘find(std::vector<std::shared_ptr<infini::GraphMatchObj> >::iterator, std::vector<std::shared_ptr<infini::GraphMatchObj> >::iterator, const infini::MatchGraph&)’ | |
245 | auto pos = std::find(gMatch.begin(), gMatch.end(), gLastMatch); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’ | |
435 | find(istreambuf_iterator<_CharT> __first, | |
| ^~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed: | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc:245:33: note: ‘__gnu_cxx::__normal_iterator<std::shared_ptr<infini::GraphMatchObj>*, std::vector<std::shared_ptr<infini::GraphMatchObj> > >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ | |
245 | auto pos = std::find(gMatch.begin(), gMatch.end(), gLastMatch); | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc: In member function ‘bool infini::SubGraphRewriter::checkMatchValid(const infini::MatchGraph&) const’: | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc:289:26: error: no matching function for call to ‘find(std::vector<std::shared_ptr<infini::OperatorObj> >::iterator, std::vector<std::shared_ptr<infini::OperatorObj> >::iterator, std::shared_ptr<infini::OperatorObj>&)’ | |
289 | if (std::find(ops.begin(), ops.end(), preAnchor) == ops.end()) | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’ | |
435 | find(istreambuf_iterator<_CharT> __first, | |
| ^~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed: | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc:289:26: note: ‘__gnu_cxx::__normal_iterator<std::shared_ptr<infini::OperatorObj>*, std::vector<std::shared_ptr<infini::OperatorObj> > >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ | |
289 | if (std::find(ops.begin(), ops.end(), preAnchor) == ops.end()) | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc:292:26: error: no matching function for call to ‘find(std::vector<std::shared_ptr<infini::OperatorObj> >::iterator, std::vector<std::shared_ptr<infini::OperatorObj> >::iterator, std::shared_ptr<infini::OperatorObj>&)’ | |
292 | if (std::find(ops.begin(), ops.end(), opAnchor) == ops.end()) | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’ | |
435 | find(istreambuf_iterator<_CharT> __first, | |
| ^~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed: | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc:292:26: note: ‘__gnu_cxx::__normal_iterator<std::shared_ptr<infini::OperatorObj>*, std::vector<std::shared_ptr<infini::OperatorObj> > >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ | |
292 | if (std::find(ops.begin(), ops.end(), opAnchor) == ops.end()) | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc: In member function ‘void infini::SubGraphRewriter::replaceSubGraph(const infini::SubGraph&, const infini::SubGraph&)’: | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc:362:30: error: no matching function for call to ‘find(std::vector<std::shared_ptr<infini::TensorObj> >::iterator, std::vector<std::shared_ptr<infini::TensorObj> >::iterator, std::shared_ptr<infini::TensorObj>&)’ | |
362 | if (std::find(inputs.begin(), inputs.end(), tensor) == | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’ | |
435 | find(istreambuf_iterator<_CharT> __first, | |
| ^~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed: | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc:362:30: note: ‘__gnu_cxx::__normal_iterator<std::shared_ptr<infini::TensorObj>*, std::vector<std::shared_ptr<infini::TensorObj> > >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ | |
362 | if (std::find(inputs.begin(), inputs.end(), tensor) == | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc: In member function ‘infini::TensorVec infini::SubGraphRewriter::addSubGraph(const infini::SubGraph&, const infini::TensorVec&)’: | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc:383:28: error: no matching function for call to ‘find(std::vector<std::shared_ptr<infini::TensorObj> >::iterator, std::vector<std::shared_ptr<infini::TensorObj> >::iterator, std::shared_ptr<infini::TensorObj>&)’ | |
383 | IT_ASSERT(std::find(tensors.begin(), tensors.end(), input) != | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:44:23: note: in definition of macro ‘_IT_ASSERT_2’ | |
44 | static_cast<bool>(condition) \ | |
| ^~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:36:20: note: in expansion of macro ‘_IT_ASSERT_1’ | |
36 | #define _CAT(A, B) A##B | |
| ^ | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:50:24: note: in expansion of macro ‘_VA_SELECT’ | |
50 | #define IT_ASSERT(...) _VA_SELECT(_IT_ASSERT, __VA_ARGS__) | |
| ^~~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc:383:9: note: in expansion of macro ‘IT_ASSERT’ | |
383 | IT_ASSERT(std::find(tensors.begin(), tensors.end(), input) != | |
| ^~~~~~~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’ | |
435 | find(istreambuf_iterator<_CharT> __first, | |
| ^~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed: | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc:383:28: note: ‘__gnu_cxx::__normal_iterator<std::shared_ptr<infini::TensorObj>*, std::vector<std::shared_ptr<infini::TensorObj> > >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ | |
383 | IT_ASSERT(std::find(tensors.begin(), tensors.end(), input) != | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:44:23: note: in definition of macro ‘_IT_ASSERT_2’ | |
44 | static_cast<bool>(condition) \ | |
| ^~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:36:20: note: in expansion of macro ‘_IT_ASSERT_1’ | |
36 | #define _CAT(A, B) A##B | |
| ^ | |
/home/lyh/PullGround/InfiniTensor/include/core/common.h:50:24: note: in expansion of macro ‘_VA_SELECT’ | |
50 | #define IT_ASSERT(...) _VA_SELECT(_IT_ASSERT, __VA_ARGS__) | |
| ^~~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc:383:9: note: in expansion of macro ‘IT_ASSERT’ | |
383 | IT_ASSERT(std::find(tensors.begin(), tensors.end(), input) != | |
| ^~~~~~~~~ | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc: In member function ‘void infini::SubGraphRewriter::removeSubG | |
raph(infini::MatchGraph)’: | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc:426:26: error: no matching function for call to ‘find(std::vector<std::shared_ptr<infini::TensorObj> >::iterator, std::vector<std::shared_ptr<infini::TensorObj> >::iterator, std::shared_ptr<infini::TensorObj>&)’ | |
426 | if (std::find(inputs.begin(), inputs.end(), tensor) == | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(istreambuf_iterator<_CharT>, istreambuf_iterator<_CharT>, const _CharT2&)’ | |
435 | find(istreambuf_iterator<_CharT> __first, | |
| ^~~~ | |
/usr/include/c++/14.2.1/bits/streambuf_iterator.h:435:5: note: template argument deduction/substitution failed: | |
/home/lyh/PullGround/InfiniTensor/src/core/graph_match.cc:426:26: note: ‘__gnu_cxx::__normal_iterator<std::shared_ptr<infini::TensorObj>*, std::vector<std::shared_ptr<infini::TensorObj> > >’ is not derived from ‘std::istreambuf_iterator<_CharT>’ | |
426 | if (std::find(inputs.begin(), inputs.end(), tensor) == | |
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
make[3]: *** [CMakeFiles/InfiniTensor.dir/build.make:135: CMakeFiles/InfiniTensor.dir/src/core/graph.cc.o] Error 1 | |
make[3]: *** [CMakeFiles/InfiniTensor.dir/build.make:121: CMakeFiles/InfiniTensor.dir/src/core/dummy_mutator.cc.o] Error 1 | |
make[3]: *** [CMakeFiles/InfiniTensor.dir/build.make:177: CMakeFiles/InfiniTensor.dir/src/core/lazy_allocator.cc.o] Error 1 | |
make[3]: *** [CMakeFiles/InfiniTensor.dir/build.make:163: CMakeFiles/InfiniTensor.dir/src/core/graph_match.cc.o] Error 1 | |
make[3]: *** [CMakeFiles/InfiniTensor.dir/build.make:149: CMakeFiles/InfiniTensor.dir/src/core/graph_handler.cc.o] Error 1 | |
make[2]: *** [CMakeFiles/Makefile2:326: CMakeFiles/InfiniTensor.dir/all] Error 2 | |
make[1]: *** [Makefile:146: all] Error 2 | |
make[1]: Leaving directory '/home/lyh/PullGround/InfiniTensor/build/Release' | |
make: *** [Makefile:45: build] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment