nnlib
GPU-accelerated, C/C++ neural network library.
|
Source file defining methods used for verifying the existence of a CUDA runtime. More...
Functions | |
bool | isCudaAvailable () |
Check if CUDA is available. More... | |
void | showCudaInfo () |
Show information about CUDA and the available GPU(s). | |
Source file defining methods used for verifying the existence of a CUDA runtime.
bool isCudaAvailable | ( | ) |
Check if CUDA is available.
The method is implemented twice depending on if CUDA is defined. If it is, then the method returns true, otherwise it returns false.