@Namespace(value="c10") @NoOffset @Properties(inherit=torch.class) public class KernelFunction extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
KernelFunction() |
KernelFunction(long size)
Native array allocator.
|
KernelFunction(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
callBoxed(OperatorHandle opHandle,
DispatchKeySet dispatchKeySet,
IValueVector stack)
Call the function in a boxed way.
|
BytePointer |
dumpState()
Create a KernelFunction from an unboxed lambda.
|
KernelFunction |
getPointer(long i) |
boolean |
isFallthrough() |
boolean |
isValid() |
boolean |
isValidSymUnboxed() |
boolean |
isValidUnboxed() |
static KernelFunction |
makeAmbiguousAutogradOther() |
static KernelFunction |
makeFallthrough()
Create a KernelFunction from an unboxed function.
|
static KernelFunction |
makeNamedNotSupported() |
KernelFunction |
position(long position) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public KernelFunction(Pointer p)
Pointer(Pointer)
.public KernelFunction(long size)
Pointer.position(long)
.public KernelFunction()
public KernelFunction position(long position)
public KernelFunction getPointer(long i)
getPointer
in class Pointer
public void callBoxed(@Const @ByRef OperatorHandle opHandle, @ByVal DispatchKeySet dispatchKeySet, @Cast(value="c10::Stack*") IValueVector stack)
@ByVal public static KernelFunction makeFallthrough()
@ByVal public static KernelFunction makeAmbiguousAutogradOther()
@ByVal public static KernelFunction makeNamedNotSupported()
@StdString public BytePointer dumpState()
Copyright © 2024. All rights reserved.