Caffe2 - C++ API
A deep learning, cross platform ML framework
cuda.h
1 #pragma once
2 
3 #include <torch/csrc/WindowsTorchApiMacro.h>
4 
5 #include <cstddef>
6 
7 namespace torch {
8 namespace cuda {
10 size_t TORCH_API device_count();
11 
13 bool TORCH_API is_available();
14 
16 bool TORCH_API cudnn_is_available();
17 } // namespace cuda
18 } // namespace torch
Definition: jit_type.h:17