NEST  2.6.0,not_revisioned_source_dir@0
Private Attributes | List of all members
PaddedPMA Class Reference

The Fujitsu compiler on K cannot handle OpenMP thread-private properly. More...

#include <allocator.h>

Inheritance diagram for PaddedPMA:
PoorMansAllocator

Private Attributes

char padding [64-sizeof(PoorMansAllocator)]
 

Additional Inherited Members

- Public Member Functions inherited from PoorMansAllocator
void init (size_t chunk_size=1048576)
 No constructors, as this would be counted as a 'use' of the pool before declaring it thread-private by the compiler. More...
 
void destruct ()
 
void * alloc (size_t obj_size)
 

Detailed Description

The Fujitsu compiler on K cannot handle OpenMP thread-private properly.

We therefore need to emulate the thread-private storage by padding the allocator objects to the size of a cache line so that the instantiations for different threads lie on different cache lines.

Member Data Documentation

char PaddedPMA::padding[64-sizeof(PoorMansAllocator)]
private

The documentation for this class was generated from the following file: