Class LineageGPUCacheEviction

java.lang.Object
org.apache.sysds.runtime.lineage.LineageGPUCacheEviction

public class LineageGPUCacheEviction extends Object
  • Field Details

  • Constructor Details

    • LineageGPUCacheEviction

      public LineageGPUCacheEviction()
  • Method Details

    • decrementLiveCount

      public static void decrementLiveCount(jcuda.Pointer ptr)
    • probeLiveCachedPointers

      public static boolean probeLiveCachedPointers(jcuda.Pointer ptr)
    • removeAllEntries

      public static void removeAllEntries(double evictFrac)
    • setGPUContext

      public static void setGPUContext(GPUContext gpuCtx)
    • isGPUCacheFreeQEmpty

      public static boolean isGPUCacheFreeQEmpty()
    • pollFirstFreeEntry

      public static LineageCacheEntry pollFirstFreeEntry(long size)
    • pollFistFreeNotExact

      public static LineageCacheEntry pollFistFreeNotExact(long size)
    • numPointersCached

      public static int numPointersCached()
    • totalMemoryCached

      public static long totalMemoryCached()
    • getAllCachedPointers

      public static Set<jcuda.Pointer> getAllCachedPointers()
    • copyToHostCache

      public static jcuda.Pointer copyToHostCache(LineageCacheEntry entry)
    • removeFromDeviceCache

      public static void removeFromDeviceCache(LineageCacheEntry entry, jcuda.Pointer ptr, boolean removeFromCache)