6 #ifndef CUDA_GRAPH_API_WRAPPERS_ERROR_HPP_     7 #define CUDA_GRAPH_API_WRAPPERS_ERROR_HPP_     9 #if CUDA_VERSION >= 10000    11 #include "../error.hpp"    12 #include "../types.hpp"    22 inline ::std::string identify(
handle_t handle)
    24     return "execution graph template " + cuda::detail_::ptr_as_hex(handle);
    29     return identify(handle) + 
" on " + device::detail_::identify(device_id);
    52 inline ::std::string identify(
handle_t handle)
    54     return "execution graph instance " + cuda::detail_::ptr_as_hex(handle);
    59     return identify(handle) + 
" on " + device::detail_::identify(device_id);
    64     return identify(handle) + 
" on " + context::detail_::identify(context_handle);
    69     return identify(handle) + 
" on " + context::detail_::identify(context_handle, device_id);
    80 inline ::std::string identify(
handle_t handle)
    82     return ::std::string(
"node with handle ") + ::cuda::detail_::ptr_as_hex(handle);
    87     return identify(node_handle) + 
" in " + template_::detail_::identify(graph_template_handle);
    98 #endif // CUDA_VERSION >= 10000   100 #endif // CUDA_GRAPH_API_WRAPPERS_ERROR_HPP_ Definitions and functionality wrapping CUDA APIs. 
Definition: array.hpp:22
 
CUdevice id_t
Numeric ID of a CUDA device used by the CUDA Runtime API. 
Definition: types.hpp:850
 
CUarray handle_t
Raw CUDA driver handle for arrays (of any dimension) 
Definition: array.hpp:34