Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to solve uint64_t and size_t not match on arm platform #379

Open
Sanzo00 opened this issue Nov 14, 2021 · 0 comments · May be fixed by #384
Open

How to solve uint64_t and size_t not match on arm platform #379

Sanzo00 opened this issue Nov 14, 2021 · 0 comments · May be fixed by #384

Comments

@Sanzo00
Copy link

Sanzo00 commented Nov 14, 2021

when I try to build Galois use make, I got these error:

[ 49%] Building CXX object lonestar/analytics/cpu/bipart/CMakeFiles/bipart-cpu.dir/bipart.cpp.o
/Users/sanzo/workspace/Galois/lonestar/analytics/cpu/bipart/bipart.cpp:315:7: error: no matching function for call to 'iterate'
galois::iterate((uint64_t)graph.hedges, graph.size()),
^~~~~~~~~~~~~~~
/Users/sanzo/workspace/Galois/libgalois/include/galois/runtime/Range.h:334:6: note: candidate template ignored: deduced conflicting types for parameter 'I' ('unsigned long long' vs. 'unsigned long')
auto iterate(const I& beg, const I& end) {
^
/Users/sanzo/workspace/Galois/libgalois/include/galois/runtime/Range.h:323:6: note: candidate function template not viable: requires single argument 'cont', but 2 arguments were provided
auto iterate(C& cont) {
^
/Users/sanzo/workspace/Galois/libgalois/include/galois/runtime/Range.h:329:6: note: candidate function template not viable: requires single argument 'initList', but 2 arguments were provided
auto iterate(std::initializer_list initList) {
^
/Users/sanzo/workspace/Galois/lonestar/analytics/cpu/bipart/bipart.cpp:351:9: error: no matching function for call to 'iterate'
galois::iterate((uint64_t)0, graph.hedges),
^~~~~~~~~~~~~~~
/Users/sanzo/workspace/Galois/libgalois/include/galois/runtime/Range.h:334:6: note: candidate template ignored: deduced conflicting types for parameter 'I' ('unsigned long long' vs. 'unsigned long')
auto iterate(const I& beg, const I& end) {
^
/Users/sanzo/workspace/Galois/libgalois/include/galois/runtime/Range.h:323:6: note: candidate function template not viable: requires single argument 'cont', but 2 arguments were provided
auto iterate(C& cont) {
^
/Users/sanzo/workspace/Galois/libgalois/include/galois/runtime/Range.h:329:6: note: candidate function template not viable: requires single argument 'initList', but 2 arguments were provided
auto iterate(std::initializer_list initList) {
^
2 errors generated.
make[2]: *** [lonestar/analytics/cpu/bipart/CMakeFiles/bipart-cpu.dir/bipart.cpp.o] Error 1
make[1]: *** [lonestar/analytics/cpu/bipart/CMakeFiles/bipart-cpu.dir/all] Error 2
make: *** [all] Error 2

I guess this is about arm platform ploblems, how can I solve this ploblem?
截屏2021-11-14 上午11 09 38

截屏2021-11-14 上午11 10 01

@Sanzo00 Sanzo00 linked a pull request Jan 27, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant