Build failure with Sleef in pow
Issue #427
resolved
Hi Klaus!
I hope you’re doing well! I just tried integrating Sleef into our code base with Blaze. Unfortunately the following fails to compile on Ubuntu 21.10, AMD Threadripper 3970X.
#include <blaze/Math.h>
using namespace blaze;
int main() {
DynamicVector<double> x{4, -1, 3};
DynamicVector<double> y = pow(1.0 * x, 1.0);
}
Compiler invocation:
clang++ -march=native -Wall -Wextra -std=c++17 -DBLAZE_USE_SLEEF=1 -O3 test.cpp
and Clang version 13.0.0-2.
Do you have any suggestions on how to fix this?
Thanks in advance!
Best wishes,
Nils
Comments (5)
-
-
-
assigned issue to
-
assigned issue to
-
- changed status to open
-
- changed status to resolved
Commit 8fbb3e8 fixes the SIMD
pow()
functions by extending them to two different SIMD types. The fix is immediately available via cloning the Blaze repository and will be officially released in Blaze 3.9. -
reporter Awesome, thank you Klaus! We really appreciate it!
- Log in to comment
Hi Nils!
Thanks for reporting this defect. The issue will be fixed as quickly as possible.
Best regards,
Klaus!