Skip to content

Add unroll argument to functions that use lax.scan #149

@carlosgmartin

Description

@carlosgmartin

Feature request: Add an unroll argument (default 1) to functions that use lax.scan.

scan is known to be slow on GPUs because it requires a kernel launch on each iteration, unless multiple iterations are unrolled.

This change would allow users to do that, and thus potentially speed up computation.

I can submit a PR for this.

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