@Namespace(value="c10::cuda::CUDACachingAllocator") @Properties(inherit=torch_cuda.class) public class DeviceStats extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DeviceStats()
Default native constructor.
|
DeviceStats(long size)
Native array allocator.
|
DeviceStats(Pointer p)
Pointer cast constructor.
|
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 DeviceStats()
public DeviceStats(long size)
Pointer.position(long)
.public DeviceStats(Pointer p)
Pointer(Pointer)
.public DeviceStats position(long position)
public DeviceStats getPointer(long i)
getPointer
in class Pointer
@ByRef @Cast(value="c10::cuda::CUDACachingAllocator::StatArray*") public Stat allocation()
public DeviceStats allocation(Stat setter)
public DeviceStats segment(Stat setter)
public DeviceStats active(Stat setter)
@ByRef @Cast(value="c10::cuda::CUDACachingAllocator::StatArray*") public Stat inactive_split()
public DeviceStats inactive_split(Stat setter)
@ByRef @Cast(value="c10::cuda::CUDACachingAllocator::StatArray*") public Stat allocated_bytes()
public DeviceStats allocated_bytes(Stat setter)
@ByRef @Cast(value="c10::cuda::CUDACachingAllocator::StatArray*") public Stat reserved_bytes()
public DeviceStats reserved_bytes(Stat setter)
@ByRef @Cast(value="c10::cuda::CUDACachingAllocator::StatArray*") public Stat active_bytes()
public DeviceStats active_bytes(Stat setter)
@ByRef @Cast(value="c10::cuda::CUDACachingAllocator::StatArray*") public Stat inactive_split_bytes()
public DeviceStats inactive_split_bytes(Stat setter)
@ByRef @Cast(value="c10::cuda::CUDACachingAllocator::StatArray*") public Stat requested_bytes()
public DeviceStats requested_bytes(Stat setter)
public DeviceStats num_alloc_retries(long setter)
public DeviceStats num_ooms(long setter)
public DeviceStats oversize_allocations(Stat setter)
public DeviceStats oversize_segments(Stat setter)
public DeviceStats max_split_size(long setter)
Copyright © 2024. All rights reserved.