Caffe2 - C++ API
A deep learning, cross platform ML framework
Related Pages
Modules
Data Structures
Files
C++ API
Python API
GitHub
File List
Globals
torch
csrc
api
include
torch
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
torch
Definition:
jit_type.h:17
Generated on Thu Mar 21 2019 13:06:22 for Caffe2 - C++ API by
1.8.11