@Namespace(value="arrow::compute") @NoOffset @Properties(inherit=arrow.class) public class KernelContext extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
KernelContext(ExecContext exec_ctx) |
KernelContext(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ResizableResult |
Allocate(long nbytes)
\brief Allocate buffer from the context's memory pool.
|
ExecContext |
exec_context()
\brief Configuration related to function execution that is to be shared
across multiple kernels.
|
MemoryPool |
memory_pool()
\brief The memory pool to use for allocations.
|
void |
SetState(KernelState state)
\brief Assign the active KernelState to be utilized for each stage of
kernel execution.
|
KernelState |
state() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic KernelContext(Pointer p)
Pointer(Pointer).public KernelContext(ExecContext exec_ctx)
@ByVal public ResizableResult Allocate(@Cast(value="int64_t") long nbytes)
public void SetState(KernelState state)
public KernelState state()
public ExecContext exec_context()
public MemoryPool memory_pool()
Copyright © 2022. All rights reserved.