@Namespace(value="c10") @Properties(inherit=torch.class) public class ThreadLocalDebugInfo extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
ThreadLocalDebugInfo()
Default native constructor.
|
ThreadLocalDebugInfo(long size)
Native array allocator.
|
ThreadLocalDebugInfo(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static DebugInfoBase |
_peek(byte kind) |
static DebugInfoBase |
_peek(torch.DebugInfoKind kind) |
static DebugInfoBase |
_pop(byte kind) |
static DebugInfoBase |
_pop(torch.DebugInfoKind kind) |
static void |
_push(byte kind,
DebugInfoBase info) |
static void |
_push(torch.DebugInfoKind kind,
DebugInfoBase info) |
static ThreadLocalDebugInfo |
current() |
static DebugInfoBase |
get(byte kind) |
static DebugInfoBase |
get(torch.DebugInfoKind kind) |
ThreadLocalDebugInfo |
getPointer(long i) |
ThreadLocalDebugInfo |
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, zeropublic ThreadLocalDebugInfo()
public ThreadLocalDebugInfo(long size)
Pointer.position(long).public ThreadLocalDebugInfo(Pointer p)
Pointer(Pointer).public ThreadLocalDebugInfo position(long position)
public ThreadLocalDebugInfo getPointer(long i)
getPointer in class Pointerpublic static DebugInfoBase get(torch.DebugInfoKind kind)
public static DebugInfoBase get(@Cast(value="c10::DebugInfoKind") byte kind)
@SharedPtr public static ThreadLocalDebugInfo current()
public static void _push(torch.DebugInfoKind kind, @SharedPtr DebugInfoBase info)
public static void _push(@Cast(value="c10::DebugInfoKind") byte kind, @SharedPtr DebugInfoBase info)
@SharedPtr public static DebugInfoBase _pop(torch.DebugInfoKind kind)
@SharedPtr public static DebugInfoBase _pop(@Cast(value="c10::DebugInfoKind") byte kind)
@SharedPtr public static DebugInfoBase _peek(torch.DebugInfoKind kind)
@SharedPtr public static DebugInfoBase _peek(@Cast(value="c10::DebugInfoKind") byte kind)
Copyright © 2024. All rights reserved.