Skip to content
Snippets Groups Projects
Commit 711c2c48 authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Fixed doc issue

parent 6fdb390b
No related branches found
No related tags found
1 merge request!57Add Convert operator (a.k.a. Transmitter)
......@@ -44,7 +44,7 @@ public:
/**
* Copy data from the same device.
* @param src Pointer on current implementation device.
* @param length Number of bytes to copy.
* @param length Number of elements to copy.
*/
virtual void copy(const void *src, NbElts_t length) = 0;
......@@ -52,7 +52,7 @@ public:
* Copy-convert data from the same device.
* @param srcDt Source data type.
* @param src Pointer on current implementation device.
* @param length Number of bytes to copy.
* @param length Number of elements to copy.
*/
virtual void copyCast(const void *src, NbElts_t length, const DataType srcDt) = 0;
......@@ -60,21 +60,21 @@ public:
* Copy data from an other device on the same backend.
* @param device (backend, device) pair to copy from. The backend must match current implementation backend.
* @param src Pointer on current implementation backend.
* @param length Number of bytes to copy.
* @param length Number of elements to copy.
*/
virtual void copyFromDevice(const void *src, NbElts_t length, const std::pair<std::string, int>& device) = 0;
/**
* Copy data from host.
* @param src Host pointer to copy from.
* @param length Number of bytes to copy.
* @param length Number of elements to copy.
*/
virtual void copyFromHost(const void *src, NbElts_t length) = 0;
/**
* Copy data to host.
* @param src Host pointer to copy to.
* @param length Number of bytes to copy.
* @param length Number of elements to copy.
*/
virtual void copyToHost(void *dst, NbElts_t length) const = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment