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)