Deep.Net


CudaRegMem

Namespace: Tensor

Methods for locking a TensorHostStorage into memory and registering the memory with CUDA for fast data transfers with GPU device.

Functions and values

Function or valueDescription
get data
Signature: data:ITensorHostStorage -> CudaRegMemHnd

get CudaRegMemHnd for already locked TensorHostStorage

getCudaRegisteredMemory data
Signature: data:ITensorHostStorage -> CudaRegisteredHostMemory<byte>

gets the CudaRegisteredMemory for already locked TensorHostStorage without incrementing the reference count

register data
Signature: data:ITensorHostStorage -> CudaRegMemHnd

registers a TensorHostStorage (multiple registrations are okay) and returns the corresponding CudaRegMemHnd

Fork me on GitHub