OpenFPM_pdata
4.1.0
Project that contain the implementation of distributed structures
Loading...
Searching...
No Matches
gpu_types.hpp
1
#pragma once
2
3
namespace
gpu {
4
5
struct
cuda_exception_t
: std::exception {
6
cudaError_t result;
7
8
cuda_exception_t
(cudaError_t result_) : result(result_) { }
9
virtual
const
char
* what()
const
noexcept
{
10
return
cudaGetErrorString(result);
11
}
12
};
13
14
}
gpu::cuda_exception_t
Definition
gpu_types.hpp:5
openfpm_devices
src
util
gpu_types.hpp
Generated by
1.9.8