Skip to content

Maximum size for ThreadGroupSize(DefaultThreadGroupSizes.X) #924

@dim0147

Description

@dim0147

Hi,
I’m trying to perform a coordinate transform on a 5000 × 5000 image using ComputeSharp. For example, I want to determine how the point [0, 0] maps to [2, 2] after the transform.

However, when allocating or dispatching the compute shader, I encounter the following error:

Specified argument was out of the range of valid values. (Parameter 'groupsX')

Image

My shader

Image

Exception here(totalPixelsInt is the size):

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    question ❓Further information is requesteduntriaged 🧰A new issue that needs initial triage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions