GeNN
3.3.0
GPU enhanced Neuronal Networks (GeNN)
|
#include <cstdint>
Go to the source code of this file.
Enumerations | |
enum | VarLocation : uint8_t { VarLocation::HOST = (1 << 0), VarLocation::DEVICE = (1 << 1), VarLocation::ZERO_COPY = (1 << 2) } |
< Flags defining which memory space variables should be allocated in More... | |
enum | VarInit : uint8_t { VarInit::HOST = (1 << 3), VarInit::DEVICE = (1 << 4) } |
enum | VarMode : uint8_t { VarMode::LOC_DEVICE_INIT_DEVICE = static_cast<uint8_t>(VarLocation::DEVICE) | static_cast<uint8_t>(VarInit::DEVICE), VarMode::LOC_HOST_DEVICE_INIT_HOST = static_cast<uint8_t>(VarLocation::HOST) | static_cast<uint8_t>(VarLocation::DEVICE) | static_cast<uint8_t>(VarInit::HOST), VarMode::LOC_HOST_DEVICE_INIT_DEVICE = static_cast<uint8_t>(VarLocation::HOST) | static_cast<uint8_t>(VarLocation::DEVICE) | static_cast<uint8_t>(VarInit::DEVICE), VarMode::LOC_ZERO_COPY_INIT_HOST = static_cast<uint8_t>(VarLocation::HOST) | static_cast<uint8_t>(VarLocation::DEVICE) | static_cast<uint8_t>(VarLocation::ZERO_COPY) | static_cast<uint8_t>(VarInit::HOST), VarMode::LOC_ZERO_COPY_INIT_DEVICE = static_cast<uint8_t>(VarLocation::HOST) | static_cast<uint8_t>(VarLocation::DEVICE) | static_cast<uint8_t>(VarLocation::ZERO_COPY) | static_cast<uint8_t>(VarInit::DEVICE) } |
Functions | |
bool | operator& (VarMode mode, VarInit init) |
bool | operator& (VarMode mode, VarLocation location) |
|
strong |
|
strong |
|
strong |
|
inline |