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

Add test #8

Merged
merged 11 commits into from
May 4, 2024
Merged

Add test #8

merged 11 commits into from
May 4, 2024

Conversation

bokutotu
Copy link
Owner

@bokutotu bokutotu commented May 4, 2024

No description provided.

bokutotu added 11 commits May 4, 2024 22:02
This commit adds unit tests for 4D matrix addition in the basic_operations
module. The tests cover both CPU and GPU (Nvidia) devices. The matrices
used in the tests are 4-dimensional (2x2x2x2) and the addition operation
is tested by asserting that the result of adding two specific matrices
is as expected. This enhances the test coverage of the matrix library.
This commit enhances the matrix addition tests in the basic_operations
module. It changes the 3D matrix addition tests to 4D and adds new tests
for sliced matrix addition. The tests cover both CPU and GPU (Nvidia)
devices. The matrices used in the tests are 4-dimensional (2x2x2x2) and
the addition operation is tested by asserting that the result of adding
two specific matrices is as expected. This improves the test coverage
and ensures the correctness of the matrix addition operation.
This commit enhances the matrix addition tests in the basic_operations
module. It changes the 3D matrix addition tests to 4D and adds new tests
for sliced matrix addition. The tests cover both CPU and GPU (Nvidia)
devices. The matrices used in the tests are 4-dimensional (2x2x2x2) and
the addition operation is tested by asserting that the result of adding
two specific matrices is as expected. This improves the test coverage
and ensures the correctness of the matrix addition operation.
This commit enhances the matrix addition tests in the basic_operations
module. It changes the 3D matrix addition tests to 4D and adds new tests
for sliced matrix addition. The tests cover both CPU and GPU (Nvidia)
devices. The matrices used in the tests are 4-dimensional (2x2x2x2) and
the addition operation is tested by asserting that the result of adding
two specific matrices is as expected. This improves the test coverage
and ensures the correctness of the matrix addition operation.
@bokutotu bokutotu merged commit 5f0f7af into new_matrix May 4, 2024
3 checks passed
@bokutotu bokutotu deleted the add_test branch May 4, 2024 16:18
bokutotu added a commit that referenced this pull request Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant