CudaDevice
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Deviceclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Executes f on a new stream f must not switch to other threads Restores the stream to the default stream
Executes f on a new stream f must not switch to other threads Restores the stream to the default stream
Attributes
Inherited methods
Attributes
- Inherited from:
- Device
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Copies tensors to this device in a single cross device copy. Data is copied via a buffer pair which consists of a source and a destinatin buffer. srcBuffer is supposed to be on the source device. dstBuffer has to be on this
device. Tensors are first copied to the srcBuffer, then the srcBuffer is copied to dstBuffer, then the dstBuffer is split into views.
Copies tensors to this device in a single cross device copy. Data is copied via a buffer pair which consists of a source and a destinatin buffer. srcBuffer is supposed to be on the source device. dstBuffer has to be on this
device. Tensors are first copied to the srcBuffer, then the srcBuffer is copied to dstBuffer, then the dstBuffer is split into views.
All tensors must have the same data type.
Might make sense to pin the srcBuffer.
Attributes
- Inherited from:
- Device