From b95df0123c4a1ae52c077dbebad954c0665505a0 Mon Sep 17 00:00:00 2001 From: Michal Babej Date: Mon, 28 Oct 2024 17:48:13 +0200 Subject: [PATCH] WIP: fixes for cl_khr_command_buffer_mutable_dispatch tests --- .../mutable_command_basic.h | 2 +- .../mutable_command_global_size.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test_conformance/extensions/cl_khr_command_buffer/cl_khr_command_buffer_mutable_dispatch/mutable_command_basic.h b/test_conformance/extensions/cl_khr_command_buffer/cl_khr_command_buffer_mutable_dispatch/mutable_command_basic.h index 51938dce02..c1697accbd 100644 --- a/test_conformance/extensions/cl_khr_command_buffer/cl_khr_command_buffer_mutable_dispatch/mutable_command_basic.h +++ b/test_conformance/extensions/cl_khr_command_buffer/cl_khr_command_buffer_mutable_dispatch/mutable_command_basic.h @@ -126,7 +126,7 @@ struct BasicMutableCommandBufferTest : BasicCommandBufferTest clUpdateMutableCommandsKHR_fn clUpdateMutableCommandsKHR = nullptr; const char* kernelString = "__kernel void empty() {}"; - const size_t global_work_size = 4 * 16; + const size_t global_work_size = 256 * 1024; }; struct InfoMutableCommandBufferTest : BasicMutableCommandBufferTest diff --git a/test_conformance/extensions/cl_khr_command_buffer/cl_khr_command_buffer_mutable_dispatch/mutable_command_global_size.cpp b/test_conformance/extensions/cl_khr_command_buffer/cl_khr_command_buffer_mutable_dispatch/mutable_command_global_size.cpp index 946fa995b3..4084961e39 100644 --- a/test_conformance/extensions/cl_khr_command_buffer/cl_khr_command_buffer_mutable_dispatch/mutable_command_global_size.cpp +++ b/test_conformance/extensions/cl_khr_command_buffer/cl_khr_command_buffer_mutable_dispatch/mutable_command_global_size.cpp @@ -153,9 +153,9 @@ struct MutableDispatchGlobalSize : public InfoMutableCommandBufferTest } size_t info_global_size = 0; - const size_t update_global_size = 3; - const size_t sizeToAllocate = global_work_size; - const size_t num_elements = sizeToAllocate / sizeof(cl_int); + const size_t update_global_size = 8 * 1024; + const size_t sizeToAllocate = global_work_size * 4; + const size_t num_elements = global_work_size; cl_mutable_command_khr command = nullptr; };