Skip to content

gpu: kernel lookup is slow #13

@Ulfgard

Description

@Ulfgard

This is an issue in boost.compute but i do not see it solved any time soon. Anyways, we would need for that version of boost.compute to be adopted on a broader scale to rely on it.

The issue is that a kernel lookup is slow, ~1ms, even if the program is already compiled and cached. compute only caches the programs, not the kernel. Thus, we have to cache the kernels as well - this is not a problem as most programs only have one kernel. so we just have to instantiate the kernel after the program is generated and cache both together.

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