Replace error code for invalid size negative test
Some checks failed
Presubmit / Build ubuntu-22.04 gl (push) Failing after 11s
Presubmit / Build ubuntu-22.04 aarch64 debug (push) Failing after 1s
Presubmit / Build ubuntu-22.04 android-aarch64 (push) Failing after 3s
Presubmit / Check code format (push) Failing after 1s
Presubmit / Build macos-latest (push) Has been cancelled
Presubmit / Build windows-11-arm (push) Has been cancelled
Presubmit / Build windows-latest (push) Has been cancelled

This commit is contained in:
paulfradgley 2025-11-04 16:52:52 +00:00 committed by GitHub
parent e641de99a5
commit c355c97bab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -629,7 +629,7 @@ int image_from_small_buffer_negative(cl_device_id device, cl_context context,
clCreateImage(context, flag, &format, &image_desc, nullptr,
&err);
test_failure_error(err, CL_INVALID_MEM_OBJECT,
test_failure_error(err, CL_INVALID_IMAGE_SIZE,
"Unexpected clCreateImage return");
err = clReleaseMemObject(buffer);