PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
simd_types.h File Reference

Platform-specific SIMD type definitions and wrappers. More...

#include "simd_config.h"
#include <cstddef>
#include <cstdint>
Include dependency graph for simd_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::pacs::encoding::simd::vec128_int
 Portable 128-bit integer vector wrapper. More...
 
struct  kcenon::pacs::encoding::simd::vec256_int
 Portable 256-bit integer vector wrapper. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::pacs
 
namespace  kcenon::pacs::encoding
 
namespace  kcenon::pacs::encoding::simd
 

Functions

template<size_t Alignment>
constexpr bool kcenon::pacs::encoding::simd::is_aligned (const void *ptr) noexcept
 Check if a pointer is aligned to the specified boundary.
 
template<size_t Alignment>
constexpr size_t kcenon::pacs::encoding::simd::align_offset (const void *ptr) noexcept
 Get the aligned portion start offset.
 

Variables

constexpr size_t kcenon::pacs::encoding::simd::SSE_ALIGNMENT = 16
 
constexpr size_t kcenon::pacs::encoding::simd::AVX_ALIGNMENT = 32
 
constexpr size_t kcenon::pacs::encoding::simd::AVX512_ALIGNMENT = 64
 

Detailed Description

Platform-specific SIMD type definitions and wrappers.

Provides portable type aliases and wrapper classes for SIMD operations across x86 (SSE2/AVX2) and ARM (NEON) platforms.

Author
kcenon
Since
1.0.0

Definition in file simd_types.h.