TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
Main Page
Namespaces
Classes
common
autograd
utils.h
1
/*
2
* Copyright (c) 2017-present, Facebook, Inc.
3
*
4
* This source code is licensed under the MIT license found in the
5
* LICENSE file in the root directory of this source tree.
6
*/
7
8
#pragma once
9
10
/**
11
* General utilities
12
*/
13
namespace
common
{
14
15
/// Checks if a CUDA GPU is available
16
bool
gpuAvailable
();
17
18
}
// namespace common
common
General utilities.
Definition:
assert.cpp:7
common::gpuAvailable
bool gpuAvailable()
Checks if a CUDA GPU is available.
Definition:
utils.cpp:14
Generated on Wed Apr 17 2019 18:31:56 for TorchCraftAI by
1.8.11