Open main menu

CDOT Wiki β

Changes

GPU621/The Chapel Programming Language

430 bytes added, 11:02, 3 December 2020
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 ===
19
edits