GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
utils.cc File Reference
#include "utils.h"
#include <fstream>
#include <cstdint>
#include "codeStream.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 writeHeader (CodeStream &os)
 Function to write the comment header denoting file authorship and contact details into the generated code. More...
 
size_t theSize (const string &type)
 Tool for determining the size of variable types on the current architecture. More...
 

Macro Definition Documentation

◆ UTILS_CC

#define UTILS_CC

Function Documentation

◆ cudaFuncGetAttributesDriver()

CUresult cudaFuncGetAttributesDriver ( cudaFuncAttributes *  attr,
CUfunction  kern 
)

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

◆ theSize()

size_t theSize ( const string &  type)

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

◆ writeHeader()

void writeHeader ( CodeStream os)

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