Calling upc free from Multiple Threads

From HPCBugBase

Jump to: navigation, search

HPCBugBase Menu

Submit feedback


Overview


Index


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.

Personal tools