Skip to content

Temporaries for bounds should not be global #648

Description

@inducer

In loopy code generation for reduction bounds (see pytato/target/loopy/codegen.py around line 570), bounds get stored in what turn out to be global temporaries. That's likely to create race conditions; those temporaries should be private.

cc @majosm

x-ref: inducer/arraycontext#349 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions