@Namespace(value="c10::cuda") @Properties(inherit=torch_cuda.class) public class DeviceAssertionData extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DeviceAssertionData()
Default native constructor.
|
DeviceAssertionData(long size)
Native array allocator.
|
DeviceAssertionData(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
BytePointer |
assertion_msg() |
byte |
assertion_msg(int i)
Stringification of the assertion
|
DeviceAssertionData |
assertion_msg(int i,
byte setter) |
IntPointer |
block_id() |
int |
block_id(int i)
block_id of the thread that failed the assertion
|
DeviceAssertionData |
block_id(int i,
int setter) |
int |
caller()
Number uniquely identifying the kernel launch that triggered the assertion
|
DeviceAssertionData |
caller(int setter) |
BytePointer |
filename() |
byte |
filename(int i)
File the assertion was in
|
DeviceAssertionData |
filename(int i,
byte setter) |
BytePointer |
function_name() |
byte |
function_name(int i)
Name of the function the assertion was in
|
DeviceAssertionData |
function_name(int i,
byte setter) |
DeviceAssertionData |
getPointer(long i) |
int |
line_number()
Line number the assertion was at
|
DeviceAssertionData |
line_number(int setter) |
DeviceAssertionData |
position(long position) |
IntPointer |
thread_id() |
int |
thread_id(int i)
third_id of the thread that failed the assertion
|
DeviceAssertionData |
thread_id(int i,
int setter) |
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 DeviceAssertionData()
public DeviceAssertionData(long size)
Pointer.position(long)
.public DeviceAssertionData(Pointer p)
Pointer(Pointer)
.public DeviceAssertionData position(long position)
public DeviceAssertionData getPointer(long i)
getPointer
in class Pointer
public DeviceAssertionData assertion_msg(int i, byte setter)
@MemberGetter @Cast(value="char*") public BytePointer assertion_msg()
public DeviceAssertionData filename(int i, byte setter)
@MemberGetter @Cast(value="char*") public BytePointer filename()
@Cast(value="char") public byte function_name(int i)
public DeviceAssertionData function_name(int i, byte setter)
@MemberGetter @Cast(value="char*") public BytePointer function_name()
public int line_number()
public DeviceAssertionData line_number(int setter)
@Cast(value="uint32_t") public int caller()
public DeviceAssertionData caller(int setter)
public int block_id(int i)
public DeviceAssertionData block_id(int i, int setter)
@MemberGetter public IntPointer block_id()
public int thread_id(int i)
public DeviceAssertionData thread_id(int i, int setter)
@MemberGetter public IntPointer thread_id()
Copyright © 2024. All rights reserved.