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

Compiling benchmark #18

Open
qvandenberg opened this issue May 5, 2020 · 3 comments
Open

Compiling benchmark #18

qvandenberg opened this issue May 5, 2020 · 3 comments

Comments

@qvandenberg
Copy link

qvandenberg commented May 5, 2020

When I compile the benchmark and reference files by operating make in the /benchmark folder, I get the following error:
reference.cpp:60:30: error: cannot convert 'std::complex<float>' to 'float' in assignment 60 | B_[i] = alpha * std::conj(A_[i * strideAinner]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | std::complex<float>

alpha is a floatType, B_[i] is a floatType, A_[i * strideAinner] is a FloatComplex. Which of them should I change to match the types?
Thanks!

@yuanAIhan
Copy link

I also encountered this problem, have you solved it?

@barracuda156
Copy link

@qvandenberg @yuanAIhan Same error also, and see: #23

@s-mandra
Copy link

Fixed in #32.

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

4 participants