GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
opencl/optimiser.h
Go to the documentation of this file.
1 #pragma once
2 
3 // GeNN includes
4 #include "backendExport.h"
5 
6 // OpenCL backend includes
7 #include "backend.h"
8 
9 // Forward declarations
10 class ModelSpecInternal;
11 namespace plog
12 {
13 class IAppender;
14 }
15 
16 
17 //--------------------------------------------------------------------------
18 // CodeGenerator::OpenCL::Optimiser
19 //--------------------------------------------------------------------------
20 namespace CodeGenerator
21 {
22 namespace OpenCL
23 {
24 namespace Optimiser
25 {
26 BACKEND_EXPORT Backend createBackend(const ModelSpecInternal &model, const filesystem::path &outputPath,
27  plog::Severity backendLevel, plog::IAppender *backendAppender,
28  const Preferences &preferences);
29 } // namespace Optimiser
30 } // namespace CUDA
31 } // namespace CodeGenerator
Definition: logging.h:11
BACKEND_EXPORT Backend createBackend(const ModelSpecInternal &model, const filesystem::path &outputPath, plog::Severity backendLevel, plog::IAppender *backendAppender, const Preferences &preferences)
Definition: opencl/optimiser.cc:48
Definition: opencl/backend.h:92
Helper class for generating code - automatically inserts brackets, indents etc.
Definition: backendBase.h:30
#define BACKEND_EXPORT
Definition: backendExport.h:13
Definition: modelSpecInternal.h:10
Preferences for OpenCL backend.
Definition: opencl/backend.h:63