mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-26 00:39:03 +00:00
Reduce the Vulkan interop buffer kernel workgroup size to 128 (#1846)
Vulkan guarantees 128 is always supported. Relates to #1828 Signed-off-by: Kevin Petit <kevin.petit@arm.com>
This commit is contained in:
@@ -15,7 +15,7 @@ layout(binding = 1) buffer Buffer
|
|||||||
{
|
{
|
||||||
uint8_t ptr[];
|
uint8_t ptr[];
|
||||||
} bufferPtrList[MAX_BUFFERS];
|
} bufferPtrList[MAX_BUFFERS];
|
||||||
layout(local_size_x = 256) in;
|
layout(local_size_x = 128) in;
|
||||||
void main() {
|
void main() {
|
||||||
for (uint32_t bufIdx = 0; bufIdx < numBuffers; bufIdx++) {
|
for (uint32_t bufIdx = 0; bufIdx < numBuffers; bufIdx++) {
|
||||||
uint32_t ptrIdx = gl_GlobalInvocationID.x;
|
uint32_t ptrIdx = gl_GlobalInvocationID.x;
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user