Class LineageGPUCacheEviction


  • public class LineageGPUCacheEviction
    extends Object
    • Constructor Detail

      • LineageGPUCacheEviction

        public LineageGPUCacheEviction()
    • Method Detail

      • 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)