Class TensorCudaBackend<'T>
CUDA backend for tensors.
Inheritance
System.Object
TensorCudaBackend<'T>
Namespace: Tensor.Cuda
Assembly: Tensor.dll
Syntax
type TensorCudaBackend<'T> (layout:TensorLayout, storage:TensorCudaStorage<'T>)
interface ITensorBackend<'T>
interface ITensorCudaBackend
Parameters
| Type | Name | Description |
|---|---|---|
| TensorLayout | layout | |
| TensorCudaStorage<'T> | storage |
Type Parameters
| Name | Description |
|---|---|
| 'T |
Constructors
| Name | Description |
|---|---|
| new: TensorLayout * TensorCudaStorage<'T> -> TensorCudaBackend<'T> | Implicit constructor. |
Properties
| Name | Description |
|---|---|
| property DevicePtr: nativeint | device pointer to first element of this tensor |