NumPower / numpower

PHP extension for efficient scientific computing and array manipulation with GPU support
https://numpower.org
Other
185 stars 4 forks source link

NDArray_Append, slicing bug fix, AVX2 image support and AVX2 CUDA support #33

Closed henrique-borba closed 1 year ago

henrique-borba commented 1 year ago

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

feat: NDArray_Append for vectors Implement NDArray::append static function to append two vectors. (Only vectors are supported for now)

fix: Fixed NDArray_Slice when slicing vectors Fixed a segmentation fault when slicing vectors

feat: Use AVX2 for image loading and saving Make use o AVX2 when available to load and save GDImage objects.

feat: Enable AVX2 when using CUDA Allow functions that support AVX2 to use it when available even when NDArray is compiled with CUDA support.