@Namespace(value="c10::cuda::CUDACachingAllocator") @NoOffset @Properties(inherit=torch_cuda.class) public class TraceEntry extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
TraceEntry.Action |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TraceEntry(int action,
long addr,
long size,
Pointer stream) |
TraceEntry(int action,
long addr,
long size,
Pointer stream,
GatheredContext context) |
TraceEntry(Pointer p)
Pointer cast constructor.
|
TraceEntry(TraceEntry.Action action,
long addr,
long size,
Pointer stream) |
TraceEntry(TraceEntry.Action action,
long addr,
long size,
Pointer stream,
GatheredContext context) |
Modifier and Type | Method and Description |
---|---|
TraceEntry.Action |
action_() |
TraceEntry |
action_(TraceEntry.Action setter) |
long |
addr_() |
TraceEntry |
addr_(long setter) |
GatheredContext |
context_() |
TraceEntry |
context_(GatheredContext setter) |
long |
size_() |
TraceEntry |
size_(long setter) |
Pointer |
stream_() |
TraceEntry |
stream_(Pointer setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public TraceEntry(Pointer p)
Pointer(Pointer)
.public TraceEntry(TraceEntry.Action action, @Cast(value="int64_t") long addr, @Cast(value="size_t") long size, @Cast(value="cudaStream_t") Pointer stream, @SharedPtr GatheredContext context)
public TraceEntry(TraceEntry.Action action, @Cast(value="int64_t") long addr, @Cast(value="size_t") long size, @Cast(value="cudaStream_t") Pointer stream)
public TraceEntry(@Cast(value="c10::cuda::CUDACachingAllocator::TraceEntry::Action") int action, @Cast(value="int64_t") long addr, @Cast(value="size_t") long size, @Cast(value="cudaStream_t") Pointer stream, @SharedPtr GatheredContext context)
public TraceEntry.Action action_()
public TraceEntry action_(TraceEntry.Action setter)
public TraceEntry addr_(long setter)
@SharedPtr public GatheredContext context_()
public TraceEntry context_(GatheredContext setter)
public TraceEntry stream_(Pointer setter)
public TraceEntry size_(long setter)
Copyright © 2024. All rights reserved.