Add stats function sumall, prodall, meanall which return a scalar of all items in an array.
Set the default axis of sum, prod, mean to 0.
Add function matmul_parallelized_simd
Compared to matmul_parallelized, this function increase the size of the SIMD vector from the default width to 16. The purpose is to increase the performance via SIMD. The function reduces the execution time by ~50% compared to matmul_parallelized and matmul_tiled_unrolled_parallelized for large matrices.
Add functions in stats
Add stats function
sumall
,prodall
,meanall
which return a scalar of all items in an array.Set the default axis of
sum
,prod
,mean
to0
.Add function
matmul_parallelized_simd
Compared to
matmul_parallelized
, this function increase the size of the SIMD vector from the default width to 16. The purpose is to increase the performance via SIMD. The function reduces the execution time by ~50% compared tomatmul_parallelized
andmatmul_tiled_unrolled_parallelized
for large matrices.Example: two 1000x1000 matrices, 100 times: