GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
variableMode.h File Reference
#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), VarLocation::HOST_DEVICE = HOST | DEVICE,
  VarLocation::HOST_DEVICE_ZERO_COPY = HOST | DEVICE | ZERO_COPY
}
 < Flags defining which memory space variables should be allocated in More...
 

Functions

bool operator& (VarLocation locA, VarLocation locB)
 

Enumeration Type Documentation

◆ VarLocation

enum VarLocation : uint8_t
strong

< Flags defining which memory space variables should be allocated in

Enumerator
HOST 
DEVICE 
ZERO_COPY 
HOST_DEVICE 
HOST_DEVICE_ZERO_COPY 

Function Documentation

◆ operator&()

bool operator & ( VarLocation  locA,
VarLocation  locB 
)
inline