Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Refactor] Remove all ctx in math_kernel_op #5934

Merged
merged 20 commits into from
Feb 26, 2025

Conversation

Critsium-xy
Copy link
Collaborator

As ctx in function parameters are completely useless, it need to be removed.

This pull requests removed ctx parameters in math_kernel_op.

@Critsium-xy
Copy link
Collaborator Author

I hope the precommit bot problem is solved now for this PR😫

@Critsium-xy Critsium-xy marked this pull request as ready for review February 26, 2025 07:09
@Critsium-xy Critsium-xy reopened this Feb 26, 2025
@mohanchen mohanchen added the The Absolute Zero Reduce the "entropy" of the code to 0 label Feb 26, 2025
@mohanchen mohanchen merged commit 2c47138 into deepmodeling:develop Feb 26, 2025
26 of 27 checks passed
Fisherd99 pushed a commit to Fisherd99/abacus-BSE that referenced this pull request Mar 31, 2025
* Remove ctx in dot_real_op

* Fix dot_complex_wrapper bug

* Remove ctx in vector_div_constant_op

* Remove ctx in scal_op

* Remove ctx in vector_mul_vector_op

* Remove ctx in vector_div_vector_op

* Fix compile bug

* Remove ctx in constantVector_addOrsub_constantVector

* Remove ctx in axpy_op

* Remove ctx in axpy_op

* Remove ctx in gemm_op

* Remove ctx in matrixTranspose_op

* Remove ctx in matrixSetToAnother

* Fix bot compilation error 1

* Fix bot compilation eror 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
The Absolute Zero Reduce the "entropy" of the code to 0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants