@Namespace(value="c10::cuda::CUDACachingAllocator") @Properties(inherit=torch_cuda.class) public class SegmentInfo extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SegmentInfo()
Default native constructor.
|
SegmentInfo(long size)
Native array allocator.
|
SegmentInfo(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 SegmentInfo()
public SegmentInfo(long size)
Pointer.position(long)
.public SegmentInfo(Pointer p)
Pointer(Pointer)
.public SegmentInfo position(long position)
public SegmentInfo getPointer(long i)
getPointer
in class Pointer
public byte device()
public SegmentInfo device(byte setter)
public SegmentInfo _address(long setter)
public SegmentInfo total_size(long setter)
public SegmentInfo requested_size(long setter)
public SegmentInfo allocated_size(long setter)
public SegmentInfo active_size(long setter)
public org.bytedeco.cuda.cudart.CUstream_st stream()
public SegmentInfo stream(org.bytedeco.cuda.cudart.CUstream_st setter)
public SegmentInfo is_large(boolean setter)
public SegmentInfo is_expandable(boolean setter)
@ByRef @Cast(value="c10::cuda::MempoolId_t*") public DeviceAssertionsDataVectorCUDAKernelLaunchInfoVectorPair owner_private_pool_id()
public SegmentInfo owner_private_pool_id(DeviceAssertionsDataVectorCUDAKernelLaunchInfoVectorPair setter)
@StdVector public BlockInfo blocks()
public SegmentInfo blocks(BlockInfo setter)
@SharedPtr public GatheredContext context_when_allocated()
public SegmentInfo context_when_allocated(GatheredContext setter)
Copyright © 2024. All rights reserved.