@Namespace(value="c10::cuda") @Properties(inherit=torch_cuda.class) public class DeviceAssertionsData extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DeviceAssertionsData()
Default native constructor.
|
DeviceAssertionsData(long size)
Native array allocator.
|
DeviceAssertionsData(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
assertion_count()
Total number of assertions found; a subset of thse will be recorded
in
assertions |
DeviceAssertionsData |
assertion_count(int setter) |
DeviceAssertionData |
assertions() |
DeviceAssertionData |
assertions(int i)
An array of assertions that will be written to in a race-free manner
|
DeviceAssertionsData |
assertions(int i,
DeviceAssertionData setter) |
DeviceAssertionsData |
getPointer(long i) |
DeviceAssertionsData |
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 DeviceAssertionsData()
public DeviceAssertionsData(long size)
Pointer.position(long)
.public DeviceAssertionsData(Pointer p)
Pointer(Pointer)
.public DeviceAssertionsData position(long position)
public DeviceAssertionsData getPointer(long i)
getPointer
in class Pointer
public int assertion_count()
assertions
public DeviceAssertionsData assertion_count(int setter)
@ByRef public DeviceAssertionData assertions(int i)
public DeviceAssertionsData assertions(int i, DeviceAssertionData setter)
@MemberGetter public DeviceAssertionData assertions()
Copyright © 2024. All rights reserved.