hptt
hptt copied to clipboard
Compiling benchmark
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!
I also encountered this problem, have you solved it?
@qvandenberg @yuanAIhan Same error also, and see: https://github.com/springer13/hptt/issues/23
Fixed in #32.