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

Are the benchmarks still executable? #32

Open
QuarticCat opened this issue Dec 24, 2021 · 0 comments
Open

Are the benchmarks still executable? #32

QuarticCat opened this issue Dec 24, 2021 · 0 comments

Comments

@QuarticCat
Copy link

QuarticCat commented Dec 24, 2021

version / revision Operating System Compiler & Version Compiler Flags CPU
1.0.0 Arch Linux GCC 11.1.0 see below Ryzen 3700X

I tried to run the benchmarks like below but failed.

$ cd benchmarks
$ CXX=$(which g++) ./run.sh hypot2.cpp

The compiler gives a lot of errors. One of those complains that

bench.h:252:33: error: ‘_S_width’ is not a member of ‘std::experimental::parallelism_v2::_VectorTraitsImpl<__vector(4) float, void>’
  252 |         for (int i = 0; i < VT::_S_width; ++i) {                                         \
      |                                 ^~~~~~~~

So I searched through the code using ripgrep but found nothing in the lib.

$ cd std-simd
$ rg _S_width
benchmarks/bench.h
38:            return std::experimental::_VectorTraits<T>::_S_width;
252:        for (int i = 0; i < VT::_S_width; ++i) {                                         \

I guess the benchmarks have already been broken and kept unmaintained. If I am wrong, then how to run those benchmarks?

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

No branches or pull requests

1 participant