Package org.apache.sysds.runtime.lineage
Class LineageGPUCacheEviction
- java.lang.Object
-
- org.apache.sysds.runtime.lineage.LineageGPUCacheEviction
-
public class LineageGPUCacheEviction extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static ExecutorService
gpuEvictionThread
-
Constructor Summary
Constructors Constructor Description LineageGPUCacheEviction()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addEntryList(List<LineageCacheEntry> entryList)
static void
copyToHostCache(LineageCacheEntry entry, String instName, boolean alreadyCopied)
static boolean
isGPUCacheEmpty()
static LineageCacheEntry
peekFirstEntry()
static LineageCacheEntry
pollFirstEntry()
static void
removeEntry(LineageCacheEntry e)
static void
setGPULineageCacheLimit()
Set the max constraint for the lineage cache in GPU
-
-
-
Field Detail
-
gpuEvictionThread
public static ExecutorService gpuEvictionThread
-
-
Method Detail
-
setGPULineageCacheLimit
public static void setGPULineageCacheLimit()
Set the max constraint for the lineage cache in GPU
-
isGPUCacheEmpty
public static boolean isGPUCacheEmpty()
-
pollFirstEntry
public static LineageCacheEntry pollFirstEntry()
-
peekFirstEntry
public static LineageCacheEntry peekFirstEntry()
-
removeEntry
public static void removeEntry(LineageCacheEntry e)
-
addEntryList
public static void addEntryList(List<LineageCacheEntry> entryList)
-
copyToHostCache
public static void copyToHostCache(LineageCacheEntry entry, String instName, boolean alreadyCopied)
-
-