Calling upc free from Multiple Threads
From HPCBugBase
HPCBugBase Menu
Submit feedback
Overview
Index
- Defect types (defect patterns)
- Specific defects (individual defects that belong to a defect type)
- Instances (code examples)
- Articles (various info)
- Templates
- Show all categories
- Show all pages
Index by Languages
Contents |
[edit] Fault Description
upc_free can be used to free shared memory that was allocated with upc_alloc, upc_global_alloc, upc_all_alloc, or upc_local_alloc. However, only one thread may call upc_free for each allocation. This is confusing especially if the object was allocated with upc_global_alloc, which is a collective operation.
[edit] Statistics (Frequency)
[edit] Other Findings and Contexts
- Cray UPC has upc_all_free, which can be called by all threads
|
No pages link to $1. |
