chapel-lang / pychapel

pych - The Python/Chapel integration module. NOTE: This repository is now deprecated.
Apache License 2.0
16 stars 13 forks source link

Mark all functions that modify an array's `blk` with the required pragma #55

Closed ronawho closed 8 years ago

ronawho commented 8 years ago

https://github.com/chapel-lang/chapel/pull/4510 added an optimization to remove an inner blk multiply for cases where the compiler could prove it wasn't needed. However, it's kind of a lame optimization (see the PR for why) and it requires marking all functions that modify an array's blk field. Pychapel is messing around with array internals (which it shouldn't really be doing IMO) so we need to mark the functions that modify blk.

ronawho commented 8 years ago

@lydia-duncan seems to pass testing, ok to merge?