Skip to content

Temporaries for bounds should not be global #648

@inducer

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)

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions