RAPIDS
    Preparing search index...

    Variable setCurrentDeviceResource

    setCurrentDeviceResource: (memoryResource: MemoryResource) => MemoryResource

    Type Declaration

      • (memoryResource: MemoryResource): MemoryResource
      • Parameters

        • memoryResource: MemoryResource

          If not null, the new resource to use for the current device.

        Returns MemoryResource

        The previous MemoryResource for the current device

        The supplied memoryResource must have been created for the current CUDA device. 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.