![]() |
GeNN
4.0.0
GPU enhanced Neuronal Networks (GeNN)
|
Preferences for CUDA backend. More...
#include <backend.h>
Public Member Functions | |
| Preferences () | |
Public Attributes | |
| bool | showPtxInfo = false |
| Should PTX assembler information be displayed for each CUDA kernel during compilation. More... | |
| DeviceSelect | deviceSelectMethod = DeviceSelect::OPTIMAL |
| How to select GPU device. More... | |
| unsigned int | manualDeviceID = 0 |
| If device select method is set to DeviceSelect::MANUAL, id of device to use. More... | |
| BlockSizeSelect | blockSizeSelectMethod = BlockSizeSelect::OCCUPANCY |
| How to select CUDA blocksize. More... | |
| KernelBlockSize | manualBlockSizes |
| If block size select method is set to BlockSizeSelect::MANUAL, block size to use for each kernel. More... | |
| std::string | userNvccFlags = "" |
| NVCC compiler options for all GPU code. More... | |
Public Attributes inherited from CodeGenerator::PreferencesBase | |
| bool | optimizeCode = false |
| Generate speed-optimized code, potentially at the expense of floating-point accuracy. More... | |
| bool | debugCode = false |
| Generate code with debug symbols. More... | |
| std::string | userCxxFlagsGNU = "" |
| C++ compiler options to be used for building all host side code (used for unix based platforms) More... | |
| std::string | userNvccFlagsGNU = "" |
| NVCC compiler options they may want to use for all GPU code (used for unix based platforms) More... | |
| plog::Severity | logLevel = plog::info |
| Logging level to use for code generation. More... | |
Preferences for CUDA backend.
|
inline |
| BlockSizeSelect CodeGenerator::CUDA::Preferences::blockSizeSelectMethod = BlockSizeSelect::OCCUPANCY |
How to select CUDA blocksize.
| DeviceSelect CodeGenerator::CUDA::Preferences::deviceSelectMethod = DeviceSelect::OPTIMAL |
How to select GPU device.
| KernelBlockSize CodeGenerator::CUDA::Preferences::manualBlockSizes |
If block size select method is set to BlockSizeSelect::MANUAL, block size to use for each kernel.
| unsigned int CodeGenerator::CUDA::Preferences::manualDeviceID = 0 |
If device select method is set to DeviceSelect::MANUAL, id of device to use.
| bool CodeGenerator::CUDA::Preferences::showPtxInfo = false |
Should PTX assembler information be displayed for each CUDA kernel during compilation.
| std::string CodeGenerator::CUDA::Preferences::userNvccFlags = "" |
NVCC compiler options for all GPU code.