[FEAT] Implement benchmark for cpu and gpu for initializer methods Cl… #68
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…oses #57 (#65)
Added benchmark files for CPU initializers using phpBench
New methods and features for 0.6.0 (New methods and features for 0.6.0 #64)
feat: squeeze manipulation routine with axis support
feat: NDArray::full implementation
feat: NDArray::fill release
feat: argmin and argmax with axis support
feat: NDArray::positive implementation
feat: NDArray::reciprocal implementation
feat: NDArray::reciprocal stubs
feat: NDArray::reciprocal stubs
feat: NDArray::swapaxes implementation
feat: NDArray::transpose permutation
feat: NDArray::swapaxes and new transpose stubs
feat: NDArray::argmin and argmax keepdims option
feat: NDArray::rollaxis implementation
feat: NDArray::moveaxis implementation
fix: improvements to the slicing mechanism
feat: ndarray slicing stubs
fix: fixed slicing shape when arrays contain values
feat: hstack, vstack and dstack implementation
feat: column_stack implementation
feat: column_stack PHP stubs
feat: NDArray::concatenate implementation
feat: NDArray::append implementation
feat: NDArray::append stubs
docs: update README.md
fix: NDArray::append memory leak when using PHP arrays as arguments.
fix: new routines GPU implementation
Added Param Providers
Update composer.json
Update initializers.c
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.
export USE_ZEND_ALLOC=1 && make test
export USE_ZEND_ALLOC=0 && make test
Change to methods and operations
NDARRAY_VCHECK
option enabled and no VRAM memory leaks were displayed?export NDARRAY_VCHECK=1 && make test
Changes to Core Components:
This include changes to:
buffer.c
,gpu_alloc.c
,ndarray.c
,iterators.c
and their associated header files.