tensor-compiler / taco-bench Goto Github PK
View Code? Open in Web Editor NEWRepository to reproduce the results from paper "The Tensor Algebra Compiler".
Repository to reproduce the results from paper "The Tensor Algebra Compiler".
Hi, thank you for great work on this project! I'm currently trying to benchmark some Sparse Matrix Implementations and would like to use this project as a base for it. Unfortunately, I can not seem to get it to compile. Steps to reproduce:
make test
to verify Taco installation -> all enabled tests passbuild
folder and run cmake
, both succeedmake
step fails with the attached compiler errorsError occurs identically with:
Any help would be appreciated
[ 50%] Building CXX object CMakeFiles/taco-bench.dir/taco-bench.cpp.o
In file included from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:12:
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.h: In function ‘bool compare(const taco::Tensor<double>&, const taco::Tensor<double>&)’:
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.h:32:33: error: no matching function for call to ‘std::set<std::vector<int> >::insert(const taco::TensorBase::const_iterator<int, double>::Coordinates&)’
32 | if (!coords.insert(val.first).second) {
| ^
In file included from /usr/include/c++/10.2.0/set:61,
from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/index_notation/index_notation.h:8,
from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:17,
from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco.h:4,
from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:6:
/usr/include/c++/10.2.0/bits/stl_set.h:509:7: note: candidate: ‘std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(const value_type&) [with _Key = std::vector<int>; _Compare = std::less<std::vector<int> >; _Alloc = std::allocator<std::vector<int> >; typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator = std::_Rb_tree<std::vector<int>, std::vector<int>, std::_Identity<std::vector<int> >, std::less<std::vector<int> >, std::allocator<std::vector<int> > >::const_iterator; std::set<_Key, _Compare, _Alloc>::value_type = std::vector<int>]’
509 | insert(const value_type& __x)
| ^~~~~~
/usr/include/c++/10.2.0/bits/stl_set.h:509:32: note: no known conversion for argument 1 from ‘const taco::TensorBase::const_iterator<int, double>::Coordinates’ to ‘const value_type&’ {aka ‘const std::vector<int>&’}
509 | insert(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/10.2.0/bits/stl_set.h:518:7: note: candidate: ‘std::pair<typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator, bool> std::set<_Key, _Compare, _Alloc>::insert(std::set<_Key, _Compare, _Alloc>::value_type&&) [with _Key = std::vector<int>; _Compare = std::less<std::vector<int> >; _Alloc = std::allocator<std::vector<int> >; typename std::_Rb_tree<_Key, _Key, std::_Identity<_Tp>, _Compare, typename __gnu_cxx::__alloc_traits<_Alloc>::rebind<_Key>::other>::const_iterator = std::_Rb_tree<std::vector<int>, std::vector<int>, std::_Identity<std::vector<int> >, std::less<std::vector<int> >, std::allocator<std::vector<int> > >::const_iterator; std::set<_Key, _Compare, _Alloc>::value_type = std::vector<int>]’
518 | insert(value_type&& __x)
| ^~~~~~
/usr/include/c++/10.2.0/bits/stl_set.h:518:27: note: no known conversion for argument 1 from ‘const taco::TensorBase::const_iterator<int, double>::Coordinates’ to ‘std::set<std::vector<int> >::value_type&&’ {aka ‘std::vector<int>&&’}
518 | insert(value_type&& __x)
| ~~~~~~~~~~~~~^~~
/usr/include/c++/10.2.0/bits/stl_set.h:546:7: note: candidate: ‘std::set<_Key, _Compare, _Alloc>::iterator std::set<_Key, _Compare, _Alloc>::insert(std::set<_Key, _Compare, _Alloc>::const_iterator, const value_type&) [with _Key = std::vector<int>; _Compare = std::less<std::vector<int> >; _Alloc = std::allocator<std::vector<int> >; std::set<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree<std::vector<int>, std::vector<int>, std::_Identity<std::vector<int> >, std::less<std::vector<int> >, std::allocator<std::vector<int> > >::const_iterator; std::set<_Key, _Compare, _Alloc>::const_iterator = std::_Rb_tree<std::vector<int>, std::vector<int>, std::_Identity<std::vector<int> >, std::less<std::vector<int> >, std::allocator<std::vector<int> > >::const_iterator; std::set<_Key, _Compare, _Alloc>::value_type = std::vector<int>]’
546 | insert(const_iterator __position, const value_type& __x)
| ^~~~~~
/usr/include/c++/10.2.0/bits/stl_set.h:546:7: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/10.2.0/bits/stl_set.h:551:7: note: candidate: ‘std::set<_Key, _Compare, _Alloc>::iterator std::set<_Key, _Compare, _Alloc>::insert(std::set<_Key, _Compare, _Alloc>::const_iterator, std::set<_Key, _Compare, _Alloc>::value_type&&) [with _Key = std::vector<int>; _Compare = std::less<std::vector<int> >; _Alloc = std::allocator<std::vector<int> >; std::set<_Key, _Compare, _Alloc>::iterator = std::_Rb_tree<std::vector<int>, std::vector<int>, std::_Identity<std::vector<int> >, std::less<std::vector<int> >, std::allocator<std::vector<int> > >::const_iterator; std::set<_Key, _Compare, _Alloc>::const_iterator = std::_Rb_tree<std::vector<int>, std::vector<int>, std::_Identity<std::vector<int> >, std::less<std::vector<int> >, std::allocator<std::vector<int> > >::const_iterator; std::set<_Key, _Compare, _Alloc>::value_type = std::vector<int>]’
551 | insert(const_iterator __position, value_type&& __x)
| ^~~~~~
/usr/include/c++/10.2.0/bits/stl_set.h:551:7: note: candidate expects 2 arguments, 1 provided
/usr/include/c++/10.2.0/bits/stl_set.h:566:2: note: candidate: ‘template<class _InputIterator> void std::set<_Key, _Compare, _Alloc>::insert(_InputIterator, _InputIterator) [with _InputIterator = _InputIterator; _Key = std::vector<int>; _Compare = std::less<std::vector<int> >; _Alloc = std::allocator<std::vector<int> >]’
566 | insert(_InputIterator __first, _InputIterator __last)
| ^~~~~~
/usr/include/c++/10.2.0/bits/stl_set.h:566:2: note: template argument deduction/substitution failed:
In file included from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:12:
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.h:32:33: note: candidate expects 2 arguments, 1 provided
32 | if (!coords.insert(val.first).second) {
| ^
In file included from /usr/include/c++/10.2.0/set:61,
from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/index_notation/index_notation.h:8,
from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:17,
from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco.h:4,
from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:6:
/usr/include/c++/10.2.0/bits/stl_set.h:578:7: note: candidate: ‘void std::set<_Key, _Compare, _Alloc>::insert(std::initializer_list<_Tp>) [with _Key = std::vector<int>; _Compare = std::less<std::vector<int> >; _Alloc = std::allocator<std::vector<int> >]’
578 | insert(initializer_list<value_type> __l)
| ^~~~~~
/usr/include/c++/10.2.0/bits/stl_set.h:578:43: note: no known conversion for argument 1 from ‘const taco::TensorBase::const_iterator<int, double>::Coordinates’ to ‘std::initializer_list<std::vector<int> >’
578 | insert(initializer_list<value_type> __l)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:12:
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.h:40:28: error: no matching function for call to ‘std::vector<std::pair<std::vector<int>, double> >::push_back(const std::pair<taco::TensorBase::const_iterator<int, double>::Coordinates, double>&)’
40 | valsDst.push_back(val);
| ^
In file included from /usr/include/c++/10.2.0/vector:67,
from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:3:
/usr/include/c++/10.2.0/bits/stl_vector.h:1187:7: note: candidate: ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::pair<std::vector<int>, double>; _Alloc = std::allocator<std::pair<std::vector<int>, double> >; std::vector<_Tp, _Alloc>::value_type = std::pair<std::vector<int>, double>]’
1187 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/10.2.0/bits/stl_vector.h:1187:35: note: no known conversion for argument 1 from ‘const std::pair<taco::TensorBase::const_iterator<int, double>::Coordinates, double>’ to ‘const value_type&’ {aka ‘const std::pair<std::vector<int>, double>&’}
1187 | push_back(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/10.2.0/bits/stl_vector.h:1203:7: note: candidate: ‘void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = std::pair<std::vector<int>, double>; _Alloc = std::allocator<std::pair<std::vector<int>, double> >; std::vector<_Tp, _Alloc>::value_type = std::pair<std::vector<int>, double>]’
1203 | push_back(value_type&& __x)
| ^~~~~~~~~
/usr/include/c++/10.2.0/bits/stl_vector.h:1203:30: note: no known conversion for argument 1 from ‘const std::pair<taco::TensorBase::const_iterator<int, double>::Coordinates, double>’ to ‘std::vector<std::pair<std::vector<int>, double> >::value_type&&’ {aka ‘std::pair<std::vector<int>, double>&&’}
1203 | push_back(value_type&& __x)
| ~~~~~~~~~~~~~^~~
In file included from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:12:
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.h:47:28: error: no matching function for call to ‘std::vector<std::pair<std::vector<int>, double> >::push_back(const std::pair<taco::TensorBase::const_iterator<int, double>::Coordinates, double>&)’
47 | valsRef.push_back(val);
| ^
In file included from /usr/include/c++/10.2.0/vector:67,
from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:3:
/usr/include/c++/10.2.0/bits/stl_vector.h:1187:7: note: candidate: ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::pair<std::vector<int>, double>; _Alloc = std::allocator<std::pair<std::vector<int>, double> >; std::vector<_Tp, _Alloc>::value_type = std::pair<std::vector<int>, double>]’
1187 | push_back(const value_type& __x)
| ^~~~~~~~~
/usr/include/c++/10.2.0/bits/stl_vector.h:1187:35: note: no known conversion for argument 1 from ‘const std::pair<taco::TensorBase::const_iterator<int, double>::Coordinates, double>’ to ‘const value_type&’ {aka ‘const std::pair<std::vector<int>, double>&’}
1187 | push_back(const value_type& __x)
| ~~~~~~~~~~~~~~~~~~^~~
/usr/include/c++/10.2.0/bits/stl_vector.h:1203:7: note: candidate: ‘void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = std::pair<std::vector<int>, double>; _Alloc = std::allocator<std::pair<std::vector<int>, double> >; std::vector<_Tp, _Alloc>::value_type = std::pair<std::vector<int>, double>]’
1203 | push_back(value_type&& __x)
| ^~~~~~~~~
/usr/include/c++/10.2.0/bits/stl_vector.h:1203:30: note: no known conversion for argument 1 from ‘const std::pair<taco::TensorBase::const_iterator<int, double>::Coordinates, double>’ to ‘std::vector<std::pair<std::vector<int>, double> >::value_type&&’ {aka ‘std::pair<std::vector<int>, double>&&’}
1203 | push_back(value_type&& __x)
| ~~~~~~~~~~~~~^~~
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp: In function ‘int main(int, char**)’:
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:286:24: error: no matching function for call to ‘taco::Tensor<double>::compile(bool)’
286 | ARef.compile(true);
| ^
In file included from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco.h:4,
from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:6:
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:412:8: note: candidate: ‘void taco::TensorBase::compile()’
412 | void compile();
| ^~~~~~~
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:412:8: note: candidate expects 0 arguments, 1 provided
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:414:8: note: candidate: ‘void taco::TensorBase::compile(taco::IndexStmt, bool)’
414 | void compile(IndexStmt stmt, bool assembleWhileCompute=false);
| ^~~~~~~
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:414:26: note: no known conversion for argument 1 from ‘bool’ to ‘taco::IndexStmt’
414 | void compile(IndexStmt stmt, bool assembleWhileCompute=false);
| ~~~~~~~~~~^~~~
In file included from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:8:
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:304:34: error: no matching function for call to ‘taco::Tensor<double>::compile(bool)’
304 | TACO_BENCH(A.compile(true);, "Compile",1,timevalue,false)
| ^
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/util/timers.h:161:7: note: in definition of macro ‘TACO_TIME_REPEAT’
161 | CODE; \
| ^~~~
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:304:9: note: in expansion of macro ‘TACO_BENCH’
304 | TACO_BENCH(A.compile(true);, "Compile",1,timevalue,false)
| ^~~~~~~~~~
In file included from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco.h:4,
from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:6:
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:412:8: note: candidate: ‘void taco::TensorBase::compile()’
412 | void compile();
| ^~~~~~~
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:412:8: note: candidate expects 0 arguments, 1 provided
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:414:8: note: candidate: ‘void taco::TensorBase::compile(taco::IndexStmt, bool)’
414 | void compile(IndexStmt stmt, bool assembleWhileCompute=false);
| ^~~~~~~
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:414:26: note: no known conversion for argument 1 from ‘bool’ to ‘taco::IndexStmt’
414 | void compile(IndexStmt stmt, bool assembleWhileCompute=false);
| ~~~~~~~~~~^~~~
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:419:33: error: ‘const class taco::TensorBase::const_iterator<int, double>::Coordinates’ has no member named ‘at’
419 | B.insert({value.first.at(0),value.first.at(1)},value.second);
| ^~
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:419:51: error: ‘const class taco::TensorBase::const_iterator<int, double>::Coordinates’ has no member named ‘at’
419 | B.insert({value.first.at(0),value.first.at(1)},value.second);
| ^~
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:419:70: error: no matching function for call to ‘taco::Tensor<double>::insert(<brace-enclosed initializer list>, const double&)’
419 | B.insert({value.first.at(0),value.first.at(1)},value.second);
| ^
In file included from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco.h:4,
from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:6:
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:889:6: note: candidate: ‘template<class CType> void taco::TensorBase::insert(const std::initializer_list<int>&, CType)’
889 | void TensorBase::insert(const std::initializer_list<int>& coordinate, CType value) {
| ^~~~~~~~~~
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:889:6: note: template argument deduction/substitution failed:
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:419:70: note: cannot convert ‘{<expression error>, <expression error>}’ (type ‘<brace-enclosed initializer list>’) to type ‘const std::initializer_list<int>&’
419 | B.insert({value.first.at(0),value.first.at(1)},value.second);
| ^
In file included from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco.h:4,
from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:6:
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:135:8: note: candidate: ‘template<class CType> void taco::TensorBase::insert(const std::vector<int>&, CType)’
135 | void insert(const std::vector<int>& coordinate, CType value);
| ^~~~~~
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:135:8: note: template argument deduction/substitution failed:
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:419:70: note: cannot convert ‘{<expression error>, <expression error>}’ (type ‘<brace-enclosed initializer list>’) to type ‘const std::vector<int>&’
419 | B.insert({value.first.at(0),value.first.at(1)},value.second);
| ^
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:444:40: error: ‘const class taco::TensorBase::const_iterator<int, double>::Coordinates’ has no member named ‘at’
444 | Btmp.insert({value.first.at(0),value.first.at(1)},value.second);
| ^~
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:444:58: error: ‘const class taco::TensorBase::const_iterator<int, double>::Coordinates’ has no member named ‘at’
444 | Btmp.insert({value.first.at(0),value.first.at(1)},value.second);
| ^~
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:444:77: error: no matching function for call to ‘taco::Tensor<double>::insert(<brace-enclosed initializer list>, const double&)’
444 | Btmp.insert({value.first.at(0),value.first.at(1)},value.second);
| ^
In file included from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco.h:4,
from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:6:
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:889:6: note: candidate: ‘template<class CType> void taco::TensorBase::insert(const std::initializer_list<int>&, CType)’
889 | void TensorBase::insert(const std::initializer_list<int>& coordinate, CType value) {
| ^~~~~~~~~~
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:889:6: note: template argument deduction/substitution failed:
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:444:77: note: cannot convert ‘{<expression error>, <expression error>}’ (type ‘<brace-enclosed initializer list>’) to type ‘const std::initializer_list<int>&’
444 | Btmp.insert({value.first.at(0),value.first.at(1)},value.second);
| ^
In file included from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco.h:4,
from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:6:
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:135:8: note: candidate: ‘template<class CType> void taco::TensorBase::insert(const std::vector<int>&, CType)’
135 | void insert(const std::vector<int>& coordinate, CType value);
| ^~~~~~
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:135:8: note: template argument deduction/substitution failed:
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:444:77: note: cannot convert ‘{<expression error>, <expression error>}’ (type ‘<brace-enclosed initializer list>’) to type ‘const std::vector<int>&’
444 | Btmp.insert({value.first.at(0),value.first.at(1)},value.second);
| ^
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:491:36: error: ‘const class taco::TensorBase::const_iterator<int, double>::Coordinates’ has no member named ‘at’
491 | Btmp.insert({value.first.at(0),value.first.at(1),value.first.at(2)},value.second);
| ^~
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:491:54: error: ‘const class taco::TensorBase::const_iterator<int, double>::Coordinates’ has no member named ‘at’
491 | Btmp.insert({value.first.at(0),value.first.at(1),value.first.at(2)},value.second);
| ^~
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:491:72: error: ‘const class taco::TensorBase::const_iterator<int, double>::Coordinates’ has no member named ‘at’
491 | Btmp.insert({value.first.at(0),value.first.at(1),value.first.at(2)},value.second);
| ^~
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:491:91: error: no matching function for call to ‘taco::Tensor<double>::insert(<brace-enclosed initializer list>, const double&)’
491 | Btmp.insert({value.first.at(0),value.first.at(1),value.first.at(2)},value.second);
| ^
In file included from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco.h:4,
from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:6:
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:889:6: note: candidate: ‘template<class CType> void taco::TensorBase::insert(const std::initializer_list<int>&, CType)’
889 | void TensorBase::insert(const std::initializer_list<int>& coordinate, CType value) {
| ^~~~~~~~~~
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:889:6: note: template argument deduction/substitution failed:
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:491:91: note: cannot convert ‘{<expression error>, <expression error>, <expression error>}’ (type ‘<brace-enclosed initializer list>’) to type ‘const std::initializer_list<int>&’
491 | Btmp.insert({value.first.at(0),value.first.at(1),value.first.at(2)},value.second);
| ^
In file included from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco.h:4,
from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:6:
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:135:8: note: candidate: ‘template<class CType> void taco::TensorBase::insert(const std::vector<int>&, CType)’
135 | void insert(const std::vector<int>& coordinate, CType value);
| ^~~~~~
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:135:8: note: template argument deduction/substitution failed:
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:491:91: note: cannot convert ‘{<expression error>, <expression error>, <expression error>}’ (type ‘<brace-enclosed initializer list>’) to type ‘const std::vector<int>&’
491 | Btmp.insert({value.first.at(0),value.first.at(1),value.first.at(2)},value.second);
| ^
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:517:40: error: ‘const class taco::TensorBase::const_iterator<int, double>::Coordinates’ has no member named ‘at’
517 | Btmp.insert({value.first.at(0),value.first.at(1),value.first.at(2)},value.second);
| ^~
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:517:58: error: ‘const class taco::TensorBase::const_iterator<int, double>::Coordinates’ has no member named ‘at’
517 | Btmp.insert({value.first.at(0),value.first.at(1),value.first.at(2)},value.second);
| ^~
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:517:76: error: ‘const class taco::TensorBase::const_iterator<int, double>::Coordinates’ has no member named ‘at’
517 | Btmp.insert({value.first.at(0),value.first.at(1),value.first.at(2)},value.second);
| ^~
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:517:95: error: no matching function for call to ‘taco::Tensor<double>::insert(<brace-enclosed initializer list>, const double&)’
517 | Btmp.insert({value.first.at(0),value.first.at(1),value.first.at(2)},value.second);
| ^
In file included from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco.h:4,
from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:6:
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:889:6: note: candidate: ‘template<class CType> void taco::TensorBase::insert(const std::initializer_list<int>&, CType)’
889 | void TensorBase::insert(const std::initializer_list<int>& coordinate, CType value) {
| ^~~~~~~~~~
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:889:6: note: template argument deduction/substitution failed:
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:517:95: note: cannot convert ‘{<expression error>, <expression error>, <expression error>}’ (type ‘<brace-enclosed initializer list>’) to type ‘const std::initializer_list<int>&’
517 | Btmp.insert({value.first.at(0),value.first.at(1),value.first.at(2)},value.second);
| ^
In file included from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco.h:4,
from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:6:
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:135:8: note: candidate: ‘template<class CType> void taco::TensorBase::insert(const std::vector<int>&, CType)’
135 | void insert(const std::vector<int>& coordinate, CType value);
| ^~~~~~
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:135:8: note: template argument deduction/substitution failed:
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:517:95: note: cannot convert ‘{<expression error>, <expression error>, <expression error>}’ (type ‘<brace-enclosed initializer list>’) to type ‘const std::vector<int>&’
517 | Btmp.insert({value.first.at(0),value.first.at(1),value.first.at(2)},value.second);
| ^
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:557:34: error: ‘const class taco::TensorBase::const_iterator<int, double>::Coordinates’ has no member named ‘at’
557 | A2.insert({value.first.at(0),value.first.at(1)},value.second);
| ^~
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:557:52: error: ‘const class taco::TensorBase::const_iterator<int, double>::Coordinates’ has no member named ‘at’
557 | A2.insert({value.first.at(0),value.first.at(1)},value.second);
| ^~
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:557:71: error: no matching function for call to ‘taco::Tensor<double>::insert(<brace-enclosed initializer list>, const double&)’
557 | A2.insert({value.first.at(0),value.first.at(1)},value.second);
| ^
In file included from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco.h:4,
from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:6:
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:889:6: note: candidate: ‘template<class CType> void taco::TensorBase::insert(const std::initializer_list<int>&, CType)’
889 | void TensorBase::insert(const std::initializer_list<int>& coordinate, CType value) {
| ^~~~~~~~~~
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:889:6: note: template argument deduction/substitution failed:
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:557:71: note: cannot convert ‘{<expression error>, <expression error>}’ (type ‘<brace-enclosed initializer list>’) to type ‘const std::initializer_list<int>&’
557 | A2.insert({value.first.at(0),value.first.at(1)},value.second);
| ^
In file included from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco.h:4,
from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:6:
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:135:8: note: candidate: ‘template<class CType> void taco::TensorBase::insert(const std::vector<int>&, CType)’
135 | void insert(const std::vector<int>& coordinate, CType value);
| ^~~~~~
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:135:8: note: template argument deduction/substitution failed:
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:557:71: note: cannot convert ‘{<expression error>, <expression error>}’ (type ‘<brace-enclosed initializer list>’) to type ‘const std::vector<int>&’
557 | A2.insert({value.first.at(0),value.first.at(1)},value.second);
| ^
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:582:41: error: ‘const class taco::TensorBase::const_iterator<int, double>::Coordinates’ has no member named ‘at’
582 | A2tmp.insert({value.first.at(0),value.first.at(1)},value.second);
| ^~
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:582:59: error: ‘const class taco::TensorBase::const_iterator<int, double>::Coordinates’ has no member named ‘at’
582 | A2tmp.insert({value.first.at(0),value.first.at(1)},value.second);
| ^~
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:582:78: error: no matching function for call to ‘taco::Tensor<double>::insert(<brace-enclosed initializer list>, const double&)’
582 | A2tmp.insert({value.first.at(0),value.first.at(1)},value.second);
| ^
In file included from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco.h:4,
from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:6:
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:889:6: note: candidate: ‘template<class CType> void taco::TensorBase::insert(const std::initializer_list<int>&, CType)’
889 | void TensorBase::insert(const std::initializer_list<int>& coordinate, CType value) {
| ^~~~~~~~~~
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:889:6: note: template argument deduction/substitution failed:
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:582:78: note: cannot convert ‘{<expression error>, <expression error>}’ (type ‘<brace-enclosed initializer list>’) to type ‘const std::initializer_list<int>&’
582 | A2tmp.insert({value.first.at(0),value.first.at(1)},value.second);
| ^
In file included from /home/jadeaffenjaeger/development/graph_compiler/taco/include/taco.h:4,
from /home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:6:
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:135:8: note: candidate: ‘template<class CType> void taco::TensorBase::insert(const std::vector<int>&, CType)’
135 | void insert(const std::vector<int>& coordinate, CType value);
| ^~~~~~
/home/jadeaffenjaeger/development/graph_compiler/taco/include/taco/tensor.h:135:8: note: template argument deduction/substitution failed:
/home/jadeaffenjaeger/development/graph_compiler/taco-bench/taco-bench.cpp:582:78: note: cannot convert ‘{<expression error>, <expression error>}’ (type ‘<brace-enclosed initializer list>’) to type ‘const std::vector<int>&’
582 | A2tmp.insert({value.first.at(0),value.first.at(1)},value.second);
| ^
make[2]: *** [CMakeFiles/taco-bench.dir/build.make:82: CMakeFiles/taco-bench.dir/taco-bench.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/taco-bench.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
Hi,
I hope all is well. Thanks for the benchmark repo! It looks quite straightforward and well designed.
I was wondering if I could get help on the following errors when building the benchmark code on my cluster (log attached):
The log seems to suggest that there could be a difference between my gcc/g++ version and the one used in the benchmark repo. My gcc is at 7.4.0 and g++ at 8.3.0. What should be the correct compiler versions used for building the benchmark project?
Thanks!
The result comparisons should allow some numerical inaccuracy.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.