Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
aidge_core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Cyril Moineau
aidge_core
Commits
711c2c48
Commit
711c2c48
authored
1 year ago
by
Olivier BICHLER
Browse files
Options
Downloads
Patches
Plain Diff
Fixed doc issue
parent
6fdb390b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/aidge/backend/TensorImpl.hpp
+5
-5
5 additions, 5 deletions
include/aidge/backend/TensorImpl.hpp
with
5 additions
and
5 deletions
include/aidge/backend/TensorImpl.hpp
+
5
−
5
View file @
711c2c48
...
@@ -44,7 +44,7 @@ public:
...
@@ -44,7 +44,7 @@ public:
/**
/**
* Copy data from the same device.
* Copy data from the same device.
* @param src Pointer on current implementation device.
* @param src Pointer on current implementation device.
* @param length Number of
byte
s to copy.
* @param length Number of
element
s to copy.
*/
*/
virtual
void
copy
(
const
void
*
src
,
NbElts_t
length
)
=
0
;
virtual
void
copy
(
const
void
*
src
,
NbElts_t
length
)
=
0
;
...
@@ -52,7 +52,7 @@ public:
...
@@ -52,7 +52,7 @@ public:
* Copy-convert data from the same device.
* Copy-convert data from the same device.
* @param srcDt Source data type.
* @param srcDt Source data type.
* @param src Pointer on current implementation device.
* @param src Pointer on current implementation device.
* @param length Number of
byte
s to copy.
* @param length Number of
element
s to copy.
*/
*/
virtual
void
copyCast
(
const
void
*
src
,
NbElts_t
length
,
const
DataType
srcDt
)
=
0
;
virtual
void
copyCast
(
const
void
*
src
,
NbElts_t
length
,
const
DataType
srcDt
)
=
0
;
...
@@ -60,21 +60,21 @@ public:
...
@@ -60,21 +60,21 @@ public:
* Copy data from an other device on the same backend.
* 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 device (backend, device) pair to copy from. The backend must match current implementation backend.
* @param src Pointer on current implementation backend.
* @param src Pointer on current implementation backend.
* @param length Number of
byte
s to copy.
* @param length Number of
element
s to copy.
*/
*/
virtual
void
copyFromDevice
(
const
void
*
src
,
NbElts_t
length
,
const
std
::
pair
<
std
::
string
,
int
>&
device
)
=
0
;
virtual
void
copyFromDevice
(
const
void
*
src
,
NbElts_t
length
,
const
std
::
pair
<
std
::
string
,
int
>&
device
)
=
0
;
/**
/**
* Copy data from host.
* Copy data from host.
* @param src Host pointer to copy from.
* @param src Host pointer to copy from.
* @param length Number of
byte
s to copy.
* @param length Number of
element
s to copy.
*/
*/
virtual
void
copyFromHost
(
const
void
*
src
,
NbElts_t
length
)
=
0
;
virtual
void
copyFromHost
(
const
void
*
src
,
NbElts_t
length
)
=
0
;
/**
/**
* Copy data to host.
* Copy data to host.
* @param src Host pointer to copy to.
* @param src Host pointer to copy to.
* @param length Number of
byte
s to copy.
* @param length Number of
element
s to copy.
*/
*/
virtual
void
copyToHost
(
void
*
dst
,
NbElts_t
length
)
const
=
0
;
virtual
void
copyToHost
(
void
*
dst
,
NbElts_t
length
)
const
=
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment