nnlib
GPU-accelerated, C/C++ neural network library.
|
Header file declaring methods used for verifying the existence of a CUDA runtime. More...
#include <cuda.h>
#include <cuda_runtime.h>
#include <device_launch_parameters.h>
Functions | |
bool | isCudaAvailable () |
Check if CUDA is available. More... | |
void | showCudaInfo () |
Show information about CUDA and the available GPU(s). | |
Header file declaring 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.