-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #277 from clEsperanto/update-documentation
update documentation
- Loading branch information
Showing
6 changed files
with
80 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
Array | ||
===== | ||
|
||
The ``Array`` class is the primary data structure class of CLIc. It stores the pointer to the memory space in the ``Device``, along with the necessary information to access and manipulate it. | ||
The ``Array`` class is the primary data structure class of the library. | ||
It stores the pointer to the memory space in the ``Device``, along with the necessary information to access and manipulate it. | ||
The class is intended to be used through smart pointers defined as ``Array::Pointer`` and should not be accessed directly. | ||
Hence, the creation of an ``Array`` object is done through ``Array::create()`` function. | ||
|
||
The class provides a set of methods that describe the array, such as its ``size``, ``width``, ``dtype``, among others. | ||
It also provides methods to write/read data to and from the host, and to perform operations on the array, such as ``fill`` and ``copy``. | ||
|
||
This object is the main input and output of the library functions. | ||
|
||
.. doxygenclass:: cle::Array | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters