GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
opencl/backend.cc File Reference
#include "backend.h"
#include <algorithm>
#include <iterator>
#include "gennUtils.h"
#include "logging.h"
#include "code_generator/codeStream.h"
#include "code_generator/codeGenUtils.h"
#include "code_generator/modelSpecMerged.h"
#include "code_generator/substitutions.h"
#include "utils.h"

Namespaces

 CodeGenerator
 Helper class for generating code - automatically inserts brackets, indents etc.
 
 CodeGenerator::OpenCL
 

Macros

#define STRINGIFY(ERR)   #ERR
 
#define GEN_CL_ERROR_CASE(ERR)   os << "case " STRINGIFY(ERR) ": return \"" #ERR << "\";" << std::endl
 

Macro Definition Documentation

◆ GEN_CL_ERROR_CASE

#define GEN_CL_ERROR_CASE (   ERR)    os << "case " STRINGIFY(ERR) ": return \"" #ERR << "\";" << std::endl

◆ STRINGIFY

#define STRINGIFY (   ERR)    #ERR