diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-28 10:15:01 -0500 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-28 10:15:01 -0500 |
| commit | 83bdb3bd0ce5ca6301aec047c1886c8d00e34085 (patch) | |
| tree | 2f2010e6a6d3e9c3522c2de61bdb15e29b1d28e5 /include/ocl/simd/basic_simd.hpp | |
| parent | 2ce555077458bbb2f36a9076edd312d3293ad56f (diff) | |
chore: basic_url has new ref_type, new deprecated macros.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
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; |
