cuda : make loops use the same loop values

Thanks Johannes again for the tip
This commit is contained in:
Georgi Gerganov 2024-02-03 14:01:32 +02:00
parent 7c34655b36
commit 1f8a592482
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
2 changed files with 37 additions and 8 deletions

View file

@ -2210,7 +2210,7 @@ static bool test_backend(ggml_backend_t backend, test_mode mode, const char * op
test_cases.emplace_back(new test_leaky_relu());
#if 1
for (int hs : { 64, 80, 128, }) {
for (int hs : { 128, 64, 80, }) {
for (int nh : { 32, }) {
for (int kv : { 512, 1024, 2048, 4096, }) {
for (int nb : { 1, 2, 4, 8, 512, 1024, 2048, }) {