vulkan: implement GGML_OP_SUB
This commit is contained in:
parent
deb15e3f53
commit
148f58681b
4 changed files with 68 additions and 1 deletions
|
@ -1511,6 +1511,7 @@ struct test_cont : public test_case {
|
|||
};
|
||||
|
||||
// GGML_OP_ADD
|
||||
// GGML_OP_SUB
|
||||
// GGML_OP_MUL
|
||||
// GGML_OP_DIV
|
||||
struct test_bin_bcast : public test_case {
|
||||
|
@ -3938,7 +3939,7 @@ static std::vector<std::unique_ptr<test_case>> make_test_cases_eval() {
|
|||
test_cases.emplace_back(new test_cont(GGML_TYPE_BF16, {2, 3, 5 ,7}));
|
||||
|
||||
auto add_test_bin_bcast = [&](ggml_type type, std::array<int64_t, 4> ne, std::array<int, 4> nr) {
|
||||
for (auto op : {ggml_add, ggml_mul, ggml_div}) {
|
||||
for (auto op : {ggml_add, ggml_sub, ggml_mul, ggml_div}) {
|
||||
test_cases.emplace_back(new test_bin_bcast(op, type, ne, nr));
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue