![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
#include "alpaka/Simd.hpp"#include "alpaka/math/internal/math.hpp"#include "alpaka/simd/concepts.hpp"#include <concepts>#include <type_traits>Go to the source code of this file.
Namespaces | |
| namespace | alpaka |
| main alpaka namespace. | |
| namespace | alpaka::math |
| namespace | alpaka::math::internal |
Macros | |
| #define | ALPAKA_SIMD_MATH_UNARY_OP(className, funcName) |
| Specialize unary math function for SIMD types. | |
| #define ALPAKA_SIMD_MATH_UNARY_OP | ( | className, | |
| funcName ) |
Specialize unary math function for SIMD types.
The implementation evaluates if the STL defines a math function for the native type used in the SIMD pack, if there is no STL math specialization available the alpaka math function will be called for each SIMD lane.
| className | class name of the math trait within alpaka |
| funcName | math function name within STL |