Modifier and Type | Method and Description |
---|---|
AllocationPoint |
Allocator.allocateMemory(DataBuffer buffer,
AllocationShape requiredMemory,
AllocationStatus location,
boolean initialize)
This method allocates required chunk of memory in specific location
PLEASE NOTE: Do not use this method, unless you're 100% sure what you're doing
|
Modifier and Type | Method and Description |
---|---|
static AllocationStatus |
AllocationStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AllocationStatus[] |
AllocationStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
AllocationStatus |
AllocationPoint.getAllocationStatus()
This method returns current AllocationStatus for this point
|
Modifier and Type | Method and Description |
---|---|
AllocationPoint |
AtomicAllocator.allocateMemory(DataBuffer buffer,
AllocationShape requiredMemory,
AllocationStatus location,
boolean initialize)
This method allocates required chunk of memory in specific location
|
void |
AllocationPoint.setAllocationStatus(AllocationStatus status)
This method sets specified AllocationStatus for this point
|
Modifier and Type | Method and Description |
---|---|
AllocationStatus |
Balancer.makeDemoteDecision(Integer deviceId,
AllocationPoint point,
AllocationShape shape)
Deprecated.
This method checks, if it's worth moving some memory region to host
|
AllocationStatus |
Balancer.makePromoteDecision(Integer deviceId,
AllocationPoint point,
AllocationShape shape)
Deprecated.
This method checks, if it's worth moving some memory region to device
|
Modifier and Type | Method and Description |
---|---|
Configuration |
Configuration.setFirstMemory(AllocationStatus initialMemory)
This method allows to specify initial memory to be used within system.
|
Modifier and Type | Method and Description |
---|---|
AllocationStatus |
MemoryHandler.getInitialLocation()
This method returns initial allocation location.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.Table<AllocationStatus,Integer,Long> |
MemoryHandler.getAllocationStatistics()
This method returns total amount of memory allocated within system
|
Modifier and Type | Method and Description |
---|---|
PointersPair |
MemoryHandler.alloc(AllocationStatus targetMode,
AllocationPoint point,
AllocationShape shape,
boolean initialize)
Allocate specified memory chunk on specified device/host
|
void |
MemoryHandler.free(AllocationPoint point,
AllocationStatus target)
This method frees memory chunk specified by pointer
|
void |
MemoryHandler.relocate(AllocationStatus currentStatus,
AllocationStatus targetStatus,
AllocationPoint point,
AllocationShape shape,
CudaContext context)
Relocates specific chunk of memory from one storage to another
|
Modifier and Type | Method and Description |
---|---|
AllocationStatus |
CudaZeroHandler.getInitialLocation()
This method returns initial allocation location.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.Table<AllocationStatus,Integer,Long> |
CudaZeroHandler.getAllocationStatistics()
This method returns total amount of memory allocated within system
|
Modifier and Type | Method and Description |
---|---|
PointersPair |
CudaZeroHandler.alloc(AllocationStatus targetMode,
AllocationPoint point,
AllocationShape shape,
boolean initialize)
Allocate specified memory chunk on specified device/host
|
void |
CudaZeroHandler.free(AllocationPoint point,
AllocationStatus target)
This method frees memory chunk specified by pointer and location
|
void |
CudaZeroHandler.relocate(AllocationStatus currentStatus,
AllocationStatus targetStatus,
AllocationPoint point,
AllocationShape shape,
CudaContext context)
Copies specific chunk of memory from one storage to another
Possible directions: HOST -> DEVICE, DEVICE -> HOST
|
Modifier and Type | Method and Description |
---|---|
PointersPair |
MemoryProvider.malloc(AllocationShape shape,
AllocationPoint point,
AllocationStatus location)
This method provides PointersPair to memory chunk specified by AllocationShape
|
Modifier and Type | Method and Description |
---|---|
PointersPair |
CudaFullCachingProvider.malloc(AllocationShape shape,
AllocationPoint point,
AllocationStatus location) |
PointersPair |
CudaDirectProvider.malloc(AllocationShape shape,
AllocationPoint point,
AllocationStatus location)
This method provides PointersPair to memory chunk specified by AllocationShape
|
PointersPair |
CudaCachingZeroProvider.malloc(AllocationShape shape,
AllocationPoint point,
AllocationStatus location)
This method provides PointersPair to memory chunk specified by AllocationShape
PLEASE NOTE: This method can actually ignore malloc request, and give out previously cached free memory chunk with equal shape.
|
Constructor and Description |
---|
CachePreallocator(AllocationShape shape,
AllocationStatus location,
int numberOfEntries) |
Copyright © 2016. All Rights Reserved.