RAPIDS
    Preparing search index...

    Class CudaMemoryResource

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    supportsGetMemInfo: boolean
    supportsStreams: boolean

    Methods

    • Queries the amount of free and total memory for the resource.

      Parameters

      • Optionalstream: number

        the stream whose memory manager we want to retrieve

      Returns [number, number]

      a tuple which contains [free memory, total memory] (in bytes)

    • Parameters

      • other: MemoryResource

        The other resource to compare to

      Returns boolean

      true if the two resources are equal, else false

      Two CudaMemoryResource instances always compare equal, because they can each deallocate memory allocated by the other.