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 | |
| 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')
| -rw-r--r-- | include/ocl/simd/basic_simd.hpp | 12 | ||||
| -rw-r--r-- | include/ocl/simd/simd.hpp | 2 |
2 files changed, 10 insertions, 4 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; diff --git a/include/ocl/simd/simd.hpp b/include/ocl/simd/simd.hpp index 92bb713..14d6922 100644 --- a/include/ocl/simd/simd.hpp +++ b/include/ocl/simd/simd.hpp @@ -15,7 +15,7 @@ namespace ocl::simd { template <typename backend_type> - class real_type + class OCL_DEPRECATED_MSG("Unmaintained since v1.0.51") real_type { private: backend_type backend_; |
