Skip to content

Commit

Permalink
WIP: fixes for cl_khr_command_buffer_mutable_dispatch tests
Browse files Browse the repository at this point in the history
  • Loading branch information
franz committed Oct 28, 2024
1 parent ac736ac commit b95df01
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit b95df01

Please sign in to comment.