Skip to content

Commit 5e05bec

Browse files
committed
refactored(tensor): vectorize element-wise addition and scalar scaling using AVX/SSE
- Added SIMD vectorization support (`__AVX__` and `__SSE__`) for element-wise `add`, `add_inplace`, and `scale` operations. - Maintained scalar fallback paths for non-vectorized bounds and platforms lacking hardware extensions. - Explicitly defined rule-of-five constructors (`default` and `noexcept` moves) within the `Tensor` struct layout. - Optimized vector initialization across the core construct layer via `std::move` and `std::vector::reserve`.
1 parent 7e4270d commit 5e05bec

1 file changed

Lines changed: 496 additions & 253 deletions

File tree

0 commit comments

Comments
 (0)