mgcpp
A C++ Math Library Based on CUDA
include
mgcpp
cuda
device.hpp
Go to the documentation of this file.
1
2
// Copyright RedPortal, mujjingun 2017 - 2018.
3
// Distributed under the Boost Software License, Version 1.0.
4
// (See accompanying file LICENSE or copy at
5
// http://www.boost.org/LICENSE_1_0.txt)
6
7
#ifndef _MGCPP_CUDA_DEVICE_HPP_
8
#define _MGCPP_CUDA_DEVICE_HPP_
9
10
#include <
mgcpp/system/error_code.hpp
>
11
#include <
mgcpp/system/outcome.hpp
>
12
13
#include <cstdlib>
14
15
namespace
mgcpp
{
16
outcome::result<void>
cuda_set_device
(
size_t
device_id) noexcept;
17
}
18
19
#endif
mgcpp
Definition:
adapter_base.hpp:12
error_code.hpp
outcome.hpp
mgcpp::cuda_set_device
outcome::result< void > cuda_set_device(size_t device_id) noexcept
outcome::result
BOOST_OUTCOME_V2_NAMESPACE::std_result< R > result
Definition:
outcome.hpp:8
Generated by
1.8.13