@Properties(inherit=cupti.class) public class CUpti_StreamAttrData extends Pointer
Data passed into a resource callback function as the \p cbdata argument to \ref CUpti_CallbackFunc. The \p cbdata will be this type for \p domain equal to CUPTI_CB_DOMAIN_RESOURCE. The stream attribute data is valid only within the invocation of the callback function that is passed the data. If you need to retain some data for use outside of the callback, you must make a copy of that data.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
CUpti_StreamAttrData()
Default native constructor.
|
CUpti_StreamAttrData(long size)
Native array allocator.
|
CUpti_StreamAttrData(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
attr()
The type of the CUDA stream attribute
|
CUpti_StreamAttrData |
attr(int setter) |
CUpti_StreamAttrData |
getPointer(long i) |
CUpti_StreamAttrData |
position(long position) |
CUstream_st |
stream()
The CUDA stream handle for the attribute
|
CUpti_StreamAttrData |
stream(CUstream_st setter) |
CUlaunchAttributeValue |
value()
The value of the CUDA stream attribute
|
CUpti_StreamAttrData |
value(CUlaunchAttributeValue 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, zeropublic CUpti_StreamAttrData()
public CUpti_StreamAttrData(long size)
Pointer.position(long).public CUpti_StreamAttrData(Pointer p)
Pointer(Pointer).public CUpti_StreamAttrData position(long position)
public CUpti_StreamAttrData getPointer(long i)
getPointer in class Pointerpublic CUstream_st stream()
public CUpti_StreamAttrData stream(CUstream_st setter)
public CUpti_StreamAttrData attr(int setter)
@Cast(value="const CUstreamAttrValue*") public CUlaunchAttributeValue value()
public CUpti_StreamAttrData value(CUlaunchAttributeValue setter)
Copyright © 2025. All rights reserved.