NumPower / numpower

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

[FEAT] Implement benchmark for cpu and gpu for initializer methods Cl… #68

Open henrique-borba opened 1 month ago

henrique-borba commented 1 month ago

…oses #57 (#65)

Added benchmark files for CPU initializers using phpBench

Fixed comment for NDArray ones

Refactored function names for clarity, and fixed phpBench setup method

Added benchmarks for Linear Algebra methods with the exception of functions Cond, Inv, and Qr

Added benchmarks for sum and products methods

Added benchmarks for the arithmetic methods

Added default Revs and iteration values for more accurate runtime time estimates.

Added Group annotations to all benchmarks.

Updated Array Initializer Benchmark to utilize zeros Initializer for setup instead of hard coded arrays

Removed temp files from .gitignore


Submission Checklist:

Due to the inherent complexity of this library, we created this checklist to remind everyone of the essential steps to have an MR approved depending on the type of change that is made. You can delete this.

Change to methods and operations

Changes to Core Components:

This include changes to: buffer.c, gpu_alloc.c, ndarray.c, iterators.c and their associated header files.