GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
CodeGenerator::CUDA Namespace Reference

Namespaces

 Optimiser
 

Classes

class  Backend
 
struct  Preferences
 Preferences for CUDA backend. More...
 

Enumerations

enum  DeviceSelect { DeviceSelect::OPTIMAL, DeviceSelect::MOST_MEMORY, DeviceSelect::MANUAL, DeviceSelect::MANUAL_RUNTIME }
 Methods for selecting CUDA device. More...
 
enum  BlockSizeSelect { BlockSizeSelect::OCCUPANCY, BlockSizeSelect::MANUAL }
 Methods for selecting CUDA kernel block size. More...
 

Enumeration Type Documentation

◆ BlockSizeSelect

Methods for selecting CUDA kernel block size.

Enumerator
OCCUPANCY 

Pick optimal blocksize for each kernel based on occupancy.

MANUAL 

Use block sizes specified by user.

◆ DeviceSelect

Methods for selecting CUDA device.

Enumerator
OPTIMAL 

Pick optimal device based on how well kernels can be simultaneously simulated and occupancy.

MOST_MEMORY 

Pick device with most global memory.

MANUAL 

Use device specified by user.

MANUAL_RUNTIME 

Use device specified by user at runtime with allocateMem parameter. Optimisation will be performed on device specified with manualDeviceID.