![]() |
cuLite v0.3.1
A lite CUDA C++ Interface
|
Operators for transferring data from device to host memory. More...
Functions | |
| template<typename T_Scalar> | |
| void | operator>> (const culite::dns::XiVector< T_Scalar > &src, cla3p::dns::XiVector< typename culite::TypeTraits< T_Scalar >::cla3p_type > &dest) |
| Copies the contents of src to dest. | |
| template<typename T_Scalar> | |
| void | operator>> (const culite::dns::XxMatrix< T_Scalar > &src, cla3p::dns::XxMatrix< typename culite::TypeTraits< T_Scalar >::cla3p_type > &dest) |
| Copies the contents of src to dest. | |
Operators for transferring data from device to host memory.
Provides overloaded operators and utility functions for copying data from GPU memory back to CPU memory. These operators enable retrieval of computation results with support for both blocking and non-blocking transfers.
| void operator>> | ( | const culite::dns::XiVector< T_Scalar > & | src, |
| cla3p::dns::XiVector< typename culite::TypeTraits< T_Scalar >::cla3p_type > & | dest ) |
Copies the contents of src to dest.
Performs a device-to-host copy from src to dest. If dest is empty, it is resized to match src, otherwise it must be compatible with src.
| T_Scalar | The scalar type (e.g., float, double, complex). |
| [in] | src | The source device vector. |
| [out] | dest | The destination host vector. |
| void operator>> | ( | const culite::dns::XxMatrix< T_Scalar > & | src, |
| cla3p::dns::XxMatrix< typename culite::TypeTraits< T_Scalar >::cla3p_type > & | dest ) |
Copies the contents of src to dest.
Performs a device-to-host copy from src to dest. If dest is empty, it is resized to match src, otherwise it must be compatible with src.
| T_Scalar | The scalar type (e.g., float, double, complex). |
| [in] | src | The source device matrix. |
| [out] | dest | The destination host matrix. |