nnlib
GPU-accelerated, C/C++ neural network library.
|
Contains information about the current session. More...
Public Member Functions | |
Session () | |
Constructor that initializes the both members of the class. | |
Public Attributes | |
unsigned int | threadsPerBlock |
The number of threads per block of the GPU. More... | |
unsigned int | numCores |
The number of logical CPU cores. | |
Contains information about the current session.
This includes information about the number of CPU cores and the number of threads per block in case a CUDA enabled GPU is available. Each Tensor contains its own Session object.
unsigned int Session::threadsPerBlock |
The number of threads per block of the GPU.
If there is no GPU or no CUDA, this value is initialized to 0.