NEST
2.6.0,not_revisioned_source_dir@0
|
The Fujitsu compiler on K cannot handle OpenMP thread-private properly. More...
#include <allocator.h>
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) |
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.
|
private |