GeNN  2.2.3
GPU enhanced Neuronal Networks (GeNN)
utils.cc File Reference
#include "utils.h"
#include <fstream>
#include <stdint.h>

Macros

#define UTILS_CC
 

Functions

CUresult cudaFuncGetAttributesDriver (cudaFuncAttributes *attr, CUfunction kern)
 Function for getting the capabilities of a CUDA device via the driver API. More...
 
void gennError (string error)
 Function called upon the detection of an error. Outputs an error message and then exits. More...
 
void writeHeader (ostream &os)
 Function to write the comment header denoting file authorship and contact details into the generated code. More...
 
unsigned int theSize (string type)
 Tool for determining the size of variable types on the current architecture. More...
 

Macro Definition Documentation

#define UTILS_CC

Function Documentation

CUresult cudaFuncGetAttributesDriver ( cudaFuncAttributes *  attr,
CUfunction  kern 
)

Function for getting the capabilities of a CUDA device via the driver API.

void gennError ( string  error)

Function called upon the detection of an error. Outputs an error message and then exits.

unsigned int theSize ( string  type)

Tool for determining the size of variable types on the current architecture.

void writeHeader ( ostream &  os)

Function to write the comment header denoting file authorship and contact details into the generated code.