RAPIDS
    Preparing search index...

    Variable getPerDeviceResource

    getPerDeviceResource: (deviceId: number) => MemoryResource

    Type Declaration

      • (deviceId: number): MemoryResource
      • Parameters

        • deviceId: number

          The id of the target device

        Returns MemoryResource

        The current MemoryResource for device deviceId

        The returned MemoryResource should only be used when CUDA device deviceId is the current device (e.g. set using Device.activate()). The behavior of a MemoryResource is undefined if used while the active CUDA device is a different device from the one that was active when the MemoryResource was created.