metal : fix binary ops for ne10 % 4 != 0

This commit is contained in:
Georgi Gerganov 2023-12-12 15:55:42 +02:00
parent 08eb99179a
commit a51bc0c1c0
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
2 changed files with 2 additions and 1 deletions

View file

@ -1272,6 +1272,7 @@ static bool test_backend(ggml_backend_t backend, test_mode mode, const char * op
};
add_test_bin_bcast(GGML_TYPE_F32, {1, 1, 8, 1}, {1, 1, 1, 1});
add_test_bin_bcast(GGML_TYPE_F32, {1, 1, 1, 1}, {32, 1, 1, 1});
add_test_bin_bcast(GGML_TYPE_F32, {1, 1, 320, 320}, {1, 1, 1, 1});
add_test_bin_bcast(GGML_TYPE_F32, {16, 10, 1, 1}, {1, 1, 1, 1});
add_test_bin_bcast(GGML_TYPE_F32, {16, 10, 10, 1}, {1, 1, 1, 1});