cuda-api-wrappers
Thin C++-flavored wrappers for the CUDA Runtime API
cuda::memory::mapped::span_pair_t< T > Struct Template Reference

A pair of memory spans, one in device-global memory and one in host/system memory, mapped to it. More...

#include <memory.hpp>

Public Attributes

span< T > host_side
 The two regions mapped to each other by the CUDA driver; they must be identical in size. More...
 
span< T > device_side
 

Detailed Description

template<typename T>
struct cuda::memory::mapped::span_pair_t< T >

A pair of memory spans, one in device-global memory and one in host/system memory, mapped to it.

Note
This can be thought of as a type-imbued region_pair_t

Member Data Documentation

◆ host_side

template<typename T >
span<T> cuda::memory::mapped::span_pair_t< T >::host_side

The two regions mapped to each other by the CUDA driver; they must be identical in size.


The documentation for this struct was generated from the following file: