We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad62ba1 commit b3be71aCopy full SHA for b3be71a
tests/test-backend-ops.cpp
@@ -3930,13 +3930,13 @@ static std::vector<std::unique_ptr<test_case>> make_test_cases_eval() {
3930
}
3931
3932
// same-type copy
3933
- for (int nr = 1; nr < 4; ++nr) {
+ for (int nb = 1; nb < 4; ++nb) {
3934
for (ggml_type type : all_types) {
3935
const auto neb = ggml_blck_size(type);
3936
3937
- test_cases.emplace_back(new test_cpy(type, type, {4*neb, 2, 3, 4}, {0, 1, 2, 3}));
3938
- test_cases.emplace_back(new test_cpy(type, type, {4*neb, 2, 3, 4}, {0, 2, 1, 3}));
3939
- test_cases.emplace_back(new test_cpy(type, type, {4*neb, 2, 3, 4}, {0, 3, 1, 2}));
+ test_cases.emplace_back(new test_cpy(type, type, {nb*neb, 2, 3, 4}, {0, 1, 2, 3}));
+ test_cases.emplace_back(new test_cpy(type, type, {nb*neb, 2, 3, 4}, {0, 2, 1, 3}));
+ test_cases.emplace_back(new test_cpy(type, type, {nb*neb, 2, 3, 4}, {0, 3, 1, 2}));
3940
3941
3942
0 commit comments