Skip to content

Kernel overall local size #171

@forreg16

Description

@forreg16

Good afternoon.

When I use the NVIDIA GeForce RTX 3060 Ti graphics card in java-code, I get an error:
Kernel overall local size: 1000 exceeds maximum kernel allowed local size of: 256 failed
Running the same code on an Intel HD Graphics 630 or AMD RadeonT R7 450 graphics card, everything works fine.
If in this part of the code I put a number less than 256, then the code with the NVIDIA GeForce RTX 3060 Ti graphics card works fine:

Range range = needDevice.createRange(255);
kernel.execute(range)

The NVIDIA GeForce RTX 3060 Ti video card is more modern than the Intel HD Graphics 630 or AMD RadeonT R7 450, but for some reason the parameter for createRange is less than for older video cards.
What could be the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions