Modifier and Type | Method and Description |
---|---|
org.bytedeco.javacpp.Pointer |
Allocator.getPointer(DataBuffer buffer,
AllocationShape shape,
boolean isView,
CudaContext context)
This method returns actual device pointer valid for specified shape of current object
|
org.bytedeco.javacpp.Pointer |
Allocator.getPointer(DataBuffer buffer,
CudaContext context)
This method returns actual device pointer valid for current object
|
org.bytedeco.javacpp.Pointer |
Allocator.getPointer(INDArray array,
CudaContext context)
This method returns actual device pointer valid for specified INDArray
|
void |
Allocator.memcpyDevice(DataBuffer dstBuffer,
org.bytedeco.javacpp.Pointer srcPointer,
long length,
long dstOffset,
CudaContext context) |
void |
Allocator.registerAction(CudaContext context,
INDArray result,
INDArray... operands) |
Modifier and Type | Method and Description |
---|---|
CudaContext |
ContextPool.acquireContextForDevice(Integer deviceId) |
CudaContext |
ContextPack.getContextForLane(Integer laneId) |
Modifier and Type | Method and Description |
---|---|
void |
ContextPack.addLane(Integer laneId,
CudaContext context) |
Constructor and Description |
---|
ContextPack(CudaContext context) |
Modifier and Type | Field and Description |
---|---|
protected Map<Long,CudaContext> |
LimitedContextPool.acquired |
protected Map<Integer,Map<Integer,CudaContext>> |
BasicContextPool.contextsForDevices |
protected Map<Long,CudaContext> |
BasicContextPool.contextsPool |
protected Map<Integer,LinkedBlockingQueue<CudaContext>> |
LimitedContextPool.pool |
Modifier and Type | Method and Description |
---|---|
CudaContext |
PackedContextPool.acquireContextForDevice(Integer deviceId)
Deprecated.
|
CudaContext |
BasicContextPool.acquireContextForDevice(Integer deviceId) |
CudaContext |
LimitedContextPool.acquireContextForDevice(Integer deviceId) |
protected CudaContext |
BasicContextPool.createNewStream(Integer deviceId) |
CudaContext |
BasicContextPool.getContextForDevice(Integer deviceId) |
CudaContext |
LimitedContextPool.getContextForDevice(Integer deviceId) |
Modifier and Type | Method and Description |
---|---|
protected void |
BasicContextPool.getDeviceBuffers(CudaContext context,
int deviceId)
This method is used to allocate
|
Modifier and Type | Method and Description |
---|---|
CudaContext |
GarbageResourceReference.getContext() |
Constructor and Description |
---|
GarbageResourceReference(Thread referent,
ReferenceQueue<? super Thread> q,
CudaContext context,
int deviceId) |
Modifier and Type | Method and Description |
---|---|
CudaContext |
AllocationPoint.getCurrentContext() |
Modifier and Type | Method and Description |
---|---|
org.bytedeco.javacpp.Pointer |
AtomicAllocator.getPointer(DataBuffer buffer,
AllocationShape shape,
boolean isView,
CudaContext context)
Deprecated.
|
org.bytedeco.javacpp.Pointer |
AtomicAllocator.getPointer(DataBuffer buffer,
CudaContext context)
This method returns actual device pointer valid for current object
|
org.bytedeco.javacpp.Pointer |
AtomicAllocator.getPointer(INDArray array,
CudaContext context)
This method returns actual device pointer valid for specified INDArray
|
void |
AtomicAllocator.memcpyDevice(DataBuffer dstBuffer,
org.bytedeco.javacpp.Pointer srcPointer,
long length,
long dstOffset,
CudaContext context) |
void |
AtomicAllocator.registerAction(CudaContext context,
INDArray result,
INDArray... operands) |
void |
AllocationPoint.setCurrentContext(CudaContext context) |
Modifier and Type | Method and Description |
---|---|
CudaContext |
FlowController.prepareAction(AllocationPoint result,
AllocationPoint... operands) |
CudaContext |
FlowController.prepareAction(INDArray result,
INDArray... operands)
This method is called before operation was executed
|
CudaContext |
FlowController.prepareActionAllWrite(INDArray... operands) |
Modifier and Type | Method and Description |
---|---|
void |
FlowController.registerAction(CudaContext context,
AllocationPoint result,
AllocationPoint... operands) |
void |
FlowController.registerAction(CudaContext context,
INDArray result,
INDArray... operands)
This method is called after operation was executed
|
void |
FlowController.registerActionAllWrite(CudaContext context,
INDArray... operands) |
Modifier and Type | Method and Description |
---|---|
CudaContext |
SynchronousFlowController.prepareAction(AllocationPoint result,
AllocationPoint... operands) |
CudaContext |
AsynchronousFlowController.prepareAction(AllocationPoint result,
AllocationPoint... operands)
Deprecated.
|
CudaContext |
SynchronousFlowController.prepareAction(INDArray result,
INDArray... operands) |
CudaContext |
AsynchronousFlowController.prepareAction(INDArray result,
INDArray... operands)
Deprecated.
|
CudaContext |
SynchronousFlowController.prepareActionAllWrite(INDArray... operands) |
CudaContext |
AsynchronousFlowController.prepareActionAllWrite(INDArray... operands)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
SynchronousFlowController.registerAction(CudaContext context,
AllocationPoint result,
AllocationPoint... operands) |
void |
AsynchronousFlowController.registerAction(CudaContext context,
AllocationPoint result,
AllocationPoint... operands)
Deprecated.
|
void |
SynchronousFlowController.registerAction(CudaContext context,
INDArray result,
INDArray... operands) |
void |
AsynchronousFlowController.registerAction(CudaContext context,
INDArray result,
INDArray... operands)
Deprecated.
|
void |
SynchronousFlowController.registerActionAllWrite(CudaContext context,
INDArray... operands) |
void |
AsynchronousFlowController.registerActionAllWrite(CudaContext context,
INDArray... operands)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.bytedeco.javacpp.Pointer |
MemoryHandler.getDevicePointer(DataBuffer buffer,
CudaContext context)
PLEASE NOTE: Specific implementation, on systems without special devices can return HostPointer here
|
void |
MemoryHandler.memcpyDevice(DataBuffer dstBuffer,
org.bytedeco.javacpp.Pointer srcPointer,
long length,
long dstOffset,
CudaContext context) |
void |
MemoryHandler.registerAction(CudaContext context,
INDArray result,
INDArray... operands) |
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 |
---|---|
CudaContext |
CudaZeroHandler.getCudaContext()
This method returns CudaContext for current thread.
|
Modifier and Type | Method and Description |
---|---|
org.bytedeco.javacpp.Pointer |
CudaZeroHandler.getDevicePointer(DataBuffer buffer,
CudaContext context)
PLEASE NOTE: Specific implementation, on systems without special devices can return HostPointer here
|
void |
CudaZeroHandler.memcpyDevice(DataBuffer dstBuffer,
org.bytedeco.javacpp.Pointer srcPointer,
long length,
long dstOffset,
CudaContext context) |
void |
CudaZeroHandler.registerAction(CudaContext context,
INDArray result,
INDArray... operands) |
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
|
Constructor and Description |
---|
CublasPointer(INDArray array,
CudaContext context)
Creates a CublasPointer for a given INDArray.
|
CublasPointer(JCudaBuffer buffer,
CudaContext context)
Creates a CublasPointer
for a given JCudaBuffer
|
Modifier and Type | Method and Description |
---|---|
static long |
AddressRetriever.retrieveDeviceAddress(DataBuffer buffer,
CudaContext context)
Retrieves the device pointer
for the given data buffer
|
static org.bytedeco.javacpp.Pointer |
AddressRetriever.retrieveDevicePointer(DataBuffer buffer,
CudaContext context)
Retrieves the device pointer
for the given data buffer
|
Modifier and Type | Method and Description |
---|---|
static CudaContext |
CudaContext.getBlasContext()
Sets up a context with an old stream
and a blas handle
|
Modifier and Type | Method and Description |
---|---|
protected CudaContext |
CudaExecutioner.intercept(ScalarOp op,
int[] dimension) |
protected CudaContext |
CudaExecutioner.invoke(Accumulation op,
int[] dimension) |
protected CudaContext |
CudaGridExecutioner.invoke(BroadcastOp op) |
protected CudaContext |
CudaExecutioner.invoke(BroadcastOp op) |
protected CudaContext |
CudaExecutioner.invoke(IndexAccumulation op,
int[] dimension) |
protected CudaContext |
CudaGridExecutioner.invoke(ScalarOp op) |
protected CudaContext |
CudaExecutioner.invoke(ScalarOp op) |
protected CudaContext |
CudaGridExecutioner.invoke(TransformOp op) |
protected CudaContext |
CudaExecutioner.invoke(TransformOp op) |
Modifier and Type | Method and Description |
---|---|
static CudaArgs.ArgsAndReferences |
CudaArgs.argsAndReference(CudaContext context,
Object... kernelParams) |
Copyright © 2016. All Rights Reserved.