![]() |
cuLite v0.3.1
A lite CUDA C++ Interface
|
Operators for transferring data from host to device memory. More...
Functions | |
| template<typename T_Scalar> | |
| void | operator>> (const cla3p::dns::XiVector< typename culite::TypeTraits< T_Scalar >::cla3p_type > &src, culite::dns::XiVector< T_Scalar > &dest) |
| Copies the contents of src to dest. | |
| template<typename T_Scalar> | |
| void | operator>> (const ::cla3p::dns::XxMatrix< typename culite::TypeTraits< T_Scalar >::cla3p_type > &src, culite::dns::XxMatrix< T_Scalar > &dest) |
| Copies the contents of src to dest. | |
Operators for transferring data from host to device memory.
Provides overloaded operators and utility functions for copying data from CPU memory to GPU memory. These operators support both synchronous and asynchronous transfers using CUDA streams for efficient data movement.
| void operator>> | ( | const cla3p::dns::XiVector< typename culite::TypeTraits< T_Scalar >::cla3p_type > & | src, |
| culite::dns::XiVector< T_Scalar > & | dest ) |
Copies the contents of src to dest.
Performs a host-to-device 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 host vector. |
| [out] | dest | The destination device vector. |
| void operator>> | ( | const ::cla3p::dns::XxMatrix< typename culite::TypeTraits< T_Scalar >::cla3p_type > & | src, |
| culite::dns::XxMatrix< T_Scalar > & | dest ) |
Copies the contents of src to dest.
Performs a host-to-device 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 host matrix. |
| [out] | dest | The destination device matrix. |