File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -339,10 +339,10 @@ cuBool
339
339
├── cubool - library core source code
340
340
│ ├── include - library public C API
341
341
│ ├── sources - source-code for implementation
342
- │ │ ├── backend - common interfaces
343
342
│ │ ├── core - library core and state management
344
- │ │ ├── cpu - fallback cpu implementation
345
- │ │ └── cuda - cuda backend
343
+ │ │ ├── backend - common interfaces
344
+ │ │ ├── cuda - cuda backend
345
+ │ │ └── sequential - fallback cpu backend
346
346
│ ├── utils - testing utilities
347
347
│ └── tests - gtest-based unit-tests collection
348
348
├── python - pycubool related source
Original file line number Diff line number Diff line change @@ -163,10 +163,10 @@ namespace cubool {
163
163
index N = a->getNcols ();
164
164
165
165
CHECK_RAISE_ERROR (M == b->getNrows (), InvalidArgument, " Passed matrices have incompatible size" );
166
- CHECK_RAISE_ERROR (N == b->getNrows (), InvalidArgument, " Passed matrices have incompatible size" );
166
+ CHECK_RAISE_ERROR (N == b->getNcols (), InvalidArgument, " Passed matrices have incompatible size" );
167
167
168
168
CHECK_RAISE_ERROR (M == this ->getNrows (), InvalidArgument, " Matrix has incompatible size for operation result" );
169
- CHECK_RAISE_ERROR (N == this ->getNrows (), InvalidArgument, " Matrix has incompatible size for operation result" );
169
+ CHECK_RAISE_ERROR (N == this ->getNcols (), InvalidArgument, " Matrix has incompatible size for operation result" );
170
170
171
171
mHnd ->eWiseAdd (*a->mHnd , *b->mHnd );
172
172
}
Original file line number Diff line number Diff line change 1
1
# Runs all tests executables
2
2
# Invoke this script within build directory
3
- ./tests/test_basic_cuda
4
- ./tests/test_library_api
5
- ./tests/tests_matrix_ewiseadd
6
- ./tests/tests_matrix_extract_sub_matrix
7
- ./tests/tests_matrix_kronecker
8
- ./tests/tests_matrix_misc
9
- ./tests/tests_matrix_mxm
10
- ./tests/tests_matrix_reduce
11
- ./tests/tests_matrix_setup
12
- ./tests/tests_matrix_transpose
3
+ ./cubool/ tests/test_basic_cuda
4
+ ./cubool/ tests/test_library_api
5
+ ./cubool/ tests/test_matrix_ewiseadd
6
+ ./cubool/ tests/test_matrix_extract_sub_matrix
7
+ ./cubool/ tests/test_matrix_kronecker
8
+ ./cubool/ tests/test_matrix_misc
9
+ ./cubool/ tests/test_matrix_mxm
10
+ ./cubool/ tests/test_matrix_reduce
11
+ ./cubool/ tests/test_matrix_setup
12
+ ./cubool/ tests/test_matrix_transpose
You can’t perform that action at this time.
0 commit comments