19
edits
Changes
→Locality
=== Locality ===
numLocales: a built-in variable which returns the number of locales for the current program as an integer.
Locales array: a built-in array, which stores the locale values for the program as elements in the array. The ID of each locale value is its index in the Locales array.
Here: a built-in variable which returns the locale value that the current task is running on. In Chapel, all programs begin execution from locale #0.
=== Data Parallelism ===
=== Library Utilities ===