Vectorize cbrt for float and double.

This commit is contained in:
Rasmus Munk Larsen
2025-04-17 23:31:20 +00:00
parent 5330960900
commit 33f5f59614
12 changed files with 183 additions and 11 deletions

View File

@@ -186,6 +186,7 @@ struct packet_traits<float> : default_packet_traits {
HasExp = 1,
#ifdef EIGEN_VECTORIZE_VSX
HasSqrt = 1,
HasCbrt = 1,
#if !EIGEN_COMP_CLANG
HasRsqrt = 1,
#else
@@ -3176,6 +3177,7 @@ struct packet_traits<double> : default_packet_traits {
HasLog = 0,
HasExp = 1,
HasSqrt = 1,
HasCbrt = 1,
#if !EIGEN_COMP_CLANG
HasRsqrt = 1,
#else