@Namespace(value="c10::cuda::CUDACachingAllocator") @Properties(inherit=torch_cuda.class) public class Stat extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Stat()
Default native constructor.
|
Stat(long size)
Native array allocator.
|
Stat(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
allocated() |
Stat |
allocated(long setter) |
long |
current() |
Stat |
current(long setter) |
long |
freed() |
Stat |
freed(long setter) |
Stat |
getPointer(long i) |
long |
peak() |
Stat |
peak(long setter) |
Stat |
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 Stat()
public Stat(long size)
Pointer.position(long)
.public Stat(Pointer p)
Pointer(Pointer)
.Copyright © 2024. All rights reserved.