10#ifndef EIGEN_TYPE_CASTING_AVX_H
11#define EIGEN_TYPE_CASTING_AVX_H
20struct type_casting_traits<float, int> {
29struct type_casting_traits<int, float> {
39template<> EIGEN_STRONG_INLINE Packet8i pcast<Packet8f, Packet8i>(
const Packet8f& a) {
40 return _mm256_cvtps_epi32(a);
43template<> EIGEN_STRONG_INLINE Packet8f pcast<Packet8i, Packet8f>(
const Packet8i& a) {
44 return _mm256_cvtepi32_ps(a);
Namespace containing all symbols from the Eigen library.
Definition: Core:287