Build failure with Sleef in pow

Issue #427 resolved
Nils Deppe created an issue

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)

  1. Klaus Iglberger

    Hi Nils!

    Thanks for reporting this defect. The issue will be fixed as quickly as possible.

    Best regards,

    Klaus!

  2. Klaus Iglberger

    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.

  3. Log in to comment