#include <parallel_common.h>
#include <parallel_memory.h>
#include <stdio.h>
#include <cstring>
Go to the source code of this file.
Classes | |
class | parallel_utils::ParallelArray< Type, RType, PType > |
Encapsulates allocation/deallocation and access to arrays on both the host and device. More... | |
class | parallel_utils::ParallelHDArray< Type, PType > |
Wraps both a host and device ParallArray and exposes methods for synchronizing between the two. More... | |
Namespaces | |
namespace | parallel_utils |
namespace | parallel_utils::ArrayTypes |
Defines | |
#define | BUFFER_MAX_THRESHOLD_MULTIPLIER .9 |
#define | BUFFER_MIN_THRESHOLD_MULTIPLIER .2 |
#define | BUFFER_MULTIPLIER 1.5 |
Typedefs | |
typedef ArrayTypes::ArrayType | parallel_utils::ArrayType |
Enumerations | |
enum | parallel_utils::ArrayTypes::ArrayType { parallel_utils::ArrayTypes::HOST_ARRAY, parallel_utils::ArrayTypes::DEVICE_ARRAY } |
Types of parallel arrays. More... |
#define BUFFER_MAX_THRESHOLD_MULTIPLIER .9 |
Specifies the growth increase threshold for the buffer
Definition at line 22 of file parallel_array.h.
#define BUFFER_MIN_THRESHOLD_MULTIPLIER .2 |
Specifies the growth decrease threshold for the buffer
Definition at line 23 of file parallel_array.h.
#define BUFFER_MULTIPLIER 1.5 |
Specifies the growth factor for the buffer
Definition at line 21 of file parallel_array.h.