|
rexlib 0.1.0
Device-agnostic array computing library for CryoEM and CryoET image processing, with a pluggable backend architecture
|
Logical representation of an operand's properties. More...
#include <rexlib/core/dispatch/operand_descriptor.hpp>
Static Public Member Functions | |
| static operand_descriptor | from_array (const_array_ref a) noexcept |
| Construct an operand descriptor from an existing array. | |
Friends | |
| bool | operator== (const operand_descriptor &lhs, const operand_descriptor &rhs) noexcept |
| bool | operator!= (const operand_descriptor &lhs, const operand_descriptor &rhs) noexcept |
Logical representation of an operand's properties.
This class contains the memory representation of the array data (array_descriptor) and its placement in memory (pointer to a memory_resource)
|
staticnoexcept |
Construct an operand descriptor from an existing array.
| a | Reference to the array from which the descriptor is deduced. |
|
noexcept |
Get the array descriptor.
|
noexcept |
Get the data type of the elements.
|
noexcept |
Get the in memory layout of the data.
|
noexcept |
Get the memory resource.
|
noexcept |
Get the hash value for this object.
|
noexcept |
Set the array descriptor.
| descriptor | The new array descriptor. |
|
noexcept |
Set the memory resource.
| resource | The new memory resource. |