hptt icon indicating copy to clipboard operation
hptt copied to clipboard

Compiling benchmark

Open qvandenberg opened this issue 4 years ago • 3 comments

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!

qvandenberg avatar May 05 '20 14:05 qvandenberg

I also encountered this problem, have you solved it?

yuanAIhan avatar Nov 24 '21 12:11 yuanAIhan

@qvandenberg @yuanAIhan Same error also, and see: https://github.com/springer13/hptt/issues/23

barracuda156 avatar Jan 07 '23 12:01 barracuda156

Fixed in #32.

s-mandra avatar Feb 16 '23 19:02 s-mandra