Skip to content

Commit

Permalink
Reduce the Vulkan interop buffer kernel workgroup size to 128 (#1846)
Browse files Browse the repository at this point in the history
Vulkan guarantees 128 is always supported.

Relates to #1828

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
  • Loading branch information
kpet authored Nov 23, 2023
1 parent eec46a0 commit 5815e2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_conformance/vulkan/shaders/buffer.comp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ layout(binding = 1) buffer Buffer
{
uint8_t ptr[];
} bufferPtrList[MAX_BUFFERS];
layout(local_size_x = 256) in;
layout(local_size_x = 128) in;
void main() {
for (uint32_t bufIdx = 0; bufIdx < numBuffers; bufIdx++) {
uint32_t ptrIdx = gl_GlobalInvocationID.x;
Expand Down
Binary file modified test_conformance/vulkan/shaders/buffer.spv
Binary file not shown.

0 comments on commit 5815e2c

Please sign in to comment.