Skip to main content

Crate simd_kernels

Crate simd_kernels 

Source

Modules§

aliases
Aliases & View Tuples - Lightweight Tuple Views and Fast-To-Type Aliases
conversions
Conversions & Views - Most To/From Boilerplate Implements Here
enums
Array, TextArray, NumericArray…- All the High-Level Array containers are here.
ffi
Shared Memory - Sending data over FFI like a Pro? Look here.
kernels
macros
Internal Macros - Automates boilerplate Array implementations
structs
Table, IntegerArray, FloatArray, Vec64 - All the Low-Level Control, Tables and Views.
traits
Type Standardisation - MaskedArray, View, Print traits + more,
utils
Utilities - Internal Helper Utilities
vec64
Vec64 - Special Vector with 64-Byte SIMD Alignment

Macros§

arr_bool
arr_bool_opt
arr_cat8
arr_cat8_opt
arr_f32
arr_f64
arr_f32_opt
arr_f64_opt
arr_i32
arr_i64
arr_i32_opt
arr_i64_opt
arr_str32
arr_str64
arr_str32_opt
arr_str64_opt
arr_u32
arr_u64
arr_u32_opt
arr_u64_opt
consolidate_float_variant
Macro for consolidating float array slices by variant. Directly extends from raw data buffers.
consolidate_int_variant
Macro for consolidating integer array slices by variant. Directly extends from raw data buffers.
consolidate_string_variant
Macro for consolidating string array slices by variant. Directly copies offsets and data buffers.
fa_bool
fa_bool_opt
fa_cat8
fa_cat8_opt
fa_f32
fa_f64
fa_f32_opt
fa_f64_opt
fa_i32
fa_i64
fa_i32_opt
fa_i64_opt
fa_str32
fa_str64
fa_str32_opt
fa_str64_opt
fa_u32
fa_u64
fa_u32_opt
fa_u64_opt
has_nulls
impl_arc_masked_array
Overview
impl_array_ref_deref
Implements AsRef, AsMut, Deref, and DerefMut for standard array types with .data: Vec64<T>. This macro is for value buffers only, not dictionary arrays or string offset views.
impl_from_vec_primitive
Implement from_vec + from_std_vec for the “numeric-shaped” arrays (IntegerArray / FloatArray / DatetimeArray).
impl_masked_array
Implements the MaskedArray trait for the given struct and bound.
impl_numeric_array_constructors
Implements standard constructors for columnar array types with data, null_mask, and PhantomData fields.
impl_usize_conversions
Implements usize conversions for integers
match_array
Reduces matching boilerplate when all positive paths share the outcome
vec64

Structs§

ArrayV
ArrayView
Bitmask
TODO: Move bitmask kernels here
BitmaskV
BitmaskView
BooleanArray
BooleanArray
BooleanArrayV
BooleanArrayView
Buffer
Buffer
CategoricalArray
CategoricalArray
Column
Lazy reference to a column by name
Field
Field
FieldArray
FieldArray
FloatArray
FloatArray
IntegerArray
IntegerArray
NumericArrayV
NumericArrayView
SharedBuffer
SharedBuffer
StringArray
StringArray
SuperArray
SuperArray
SuperArrayV
SuperArrayView
SuperTable
SuperTable
SuperTableV
SuperTableView
Table
Table
TableV
TableView
TextArrayV
TextArrayView
Vec64
Vec64

Enums§

Array
Array
ArrowType
ArrowType
NumericArray
NumericArray
RechunkStrategy
Strategy for rechunking arrays and tables.
TextArray
TextArray

Traits§

ColumnSelection
Trait for types that support field/column selection
Concatenate
Concatenate trait for combining two instances of the same type.
Consolidate
Trait for consolidating chunked types into contiguous storage.
Float
Trait for types valid as float elements in columnar arrays.
Integer
Trait for types valid as integer elements in columnar arrays.
MaskedArray
MaskedArray
Numeric
Trait for types valid as numerical.
Primitive
Trait for types valid as primitive, i.e.., floats, integers, and booleans.
Print
Print
RowSelection
Trait for types that support row/data selection
Selection2D
Combined trait for 2D selection (field + data dimensions)

Functions§

column
User-facing constructor for column references
field_array
Creates a new basic field array based on a name and an existing array

Type Aliases§

ArrayVT
Windowed View Tuple for Array, when one isn’t using the full ArrayView abstraction, doesn’t want to use it, couple a function signature to it or doesn’t have that feature enabled.
BitmaskVT
Windowed View Tuple for Bitmask
BooleanAVT
Logical windowed Array View Tuple over a Boolean array.
BytesLength
Raw bytes data length for a StringArray
CategoricalAVT
Logical windowed Array View Tuple over a categorical array.
CategoricalAVTExt
Logical windowed Array View Tuple over a categorical array, including dictionary length.
DictLength
Dictionary field length for a DictionaryArray
FloatAVT
Logical windowed Array View Tuple over a primitive float array.
IntegerAVT
Logical windowed Array View Tuple over a primitive integer array.
Length
The logical length of the ArrayView. Set to arr.len() for the whole set.
Offset
The ArrayView offset lower bound, for a windowed view. Set to 0 for the whole set.
StringAVT
Logical windowed Array View Tuple over a UTF-8 string array.
StringAVTExt
Logical windowed Array View Tuple over a UTF-8 string array, including byte length.
Vec64Alloc
Allocator type backing Vec64, determined by feature flags.