[−][src]Crate tension
Modules
host_device | Host and device profile. Import all from it if you are planning to use both host-side and device-side tensors. |
host_only | Host-only profile. Import all from it if you are planning to use only host-side tensors. |
prelude |
Structs
DeviceBuffer | Buffer that stores data on device. Wrapper over OpenCL buffer. |
DeviceLocation | Buffer location.
For now it's simply the wrapper around |
DeviceTensor | Tensor structure. It consists of a contiguous one-dimensional array and a shape. Tensor tries to reuse resources as long as possible and implements copy-on-write mechanism. |
HostBuffer | Buffer that stores data on the host. Simply a wrapper around |
HostTensor | Tensor structure. It consists of a contiguous one-dimensional array and a shape. Tensor tries to reuse resources as long as possible and implements copy-on-write mechanism. |
Range | Struture representing range for one dimension for tensor slicing operation. |
Enums
Index | Index for one dimension for tensor slicing operaion. |
Traits
Float | Wrapper for |
IdentInterop | Type which representation remains the same for both host and device. |
Interop | Types that can be transformed from host representation to device one and back. |
Num | Wrapper for |
One | Analog of |
Prm | Type that could be put in tensor. |
TensorTrait | |
Zero | Analog of |