diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-29 09:58:32 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-29 09:58:32 -0500 |
| commit | 83e5efd79e102713aef3178f003402dcd5613e67 (patch) | |
| tree | 913c82e8c40c1963751dc4d5052d41d72dad6680 /include/ocl/simd/basic_simd.hpp | |
| parent | e4aa91788918b5a0acf3c4f4ce2c8d560ad5949c (diff) | |
| parent | 463a0c01f96d86c9c91f02903bc1d194c5e55b15 (diff) | |
Merge pull request #26 from amlel-el-mahrouss/develop
Develop
Diffstat (limited to 'include/ocl/simd/basic_simd.hpp')
| -rw-r--r-- | include/ocl/simd/basic_simd.hpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/include/ocl/simd/basic_simd.hpp b/include/ocl/simd/basic_simd.hpp index 7fba26b..d9d405e 100644 --- a/include/ocl/simd/basic_simd.hpp +++ b/include/ocl/simd/basic_simd.hpp @@ -11,18 +11,24 @@ #ifdef __x86_64__ #include <immintrin.h> -using simd_type = __m256; #endif #ifdef __aarch64__ #include <arm_neon.h> -using simd_type = float32x4_t; #endif namespace ocl::simd { - struct basic_simd final + struct OCL_DEPRECATED_MSG("Unmaintained since v1.0.51") basic_simd final { +#ifdef __x86_64__ + using simd_type = __m256; +#endif + +#ifdef __aarch64__ + using simd_type = float32x4_t; +#endif + struct simd_traits final { simd_type __val; |
