Show / Hide Table of Contents

    Class CudaRegMem (mod)

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

    Inheritance
    CudaRegMem (mod)
    Namespace: Tensor.Cuda
    Assembly: Tensor.dll
    Syntax
    module CudaRegMem

    Methods

    Name Description
    val get: ITensorHostStorage -> CudaRegMemHnd

    get CudaRegMemHnd for already locked TensorHostStorage

    val getCudaRegisteredMemory: ITensorHostStorage -> CudaRegisteredHostMemory<byte>

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

    val register: ITensorHostStorage -> CudaRegMemHnd

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

    Back to top Generated by DocFX