nnlib
GPU-accelerated, C/C++ neural network library.
Public Member Functions | Public Attributes | List of all members
Session Class Reference

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.
 

Detailed Description

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.

Member Data Documentation

◆ threadsPerBlock

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.


The documentation for this class was generated from the following files: