Package org.bytedeco.cuda.cudart
Class CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS extends Pointer
External semaphore signal parameters
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
-
Constructor Summary
Constructors Constructor Description CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS()Default native constructor.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS(long size)Native array allocator.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intflags()Only when ::CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS is used to signal a ::CUexternalSemaphore of type ::CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_NVSCISYNC, the valid flag is ::CUDA_EXTERNAL_SEMAPHORE_SIGNAL_SKIP_NVSCIBUF_MEMSYNC which indicates that while signaling the ::CUexternalSemaphore, no memory synchronization operations should be performed for any external memory object imported as ::CU_EXTERNAL_MEMORY_HANDLE_TYPE_NVSCIBUF.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMSflags(int setter)CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMSgetPointer(long i)longparams_fence_value()Value of fence to be signaledCUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMSparams_fence_value(long setter)longparams_keyedMutex_key()Value of key to release the mutex withCUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMSparams_keyedMutex_key(long setter)Pointerparams_nvSciSync_fence()Pointer to NvSciSyncFence.CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMSparams_nvSciSync_fence(Pointer setter)longparams_nvSciSync_reserved()CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMSparams_nvSciSync_reserved(long setter)IntPointerparams_reserved()intparams_reserved(int i)CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMSparams_reserved(int i, int setter)CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMSposition(long position)IntPointerreserved()intreserved(int i)CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMSreserved(int i, int setter)-
Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
-
-
-
Constructor Detail
-
CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS
public CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS()
Default native constructor.
-
CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS
public CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS(long size)
Native array allocator. Access withPointer.position(long).
-
CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS
public CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS position(long position)
-
getPointer
public CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS getPointer(long i)
- Overrides:
getPointerin classPointer
-
params_fence_value
@Name("params.fence.value") @Cast("unsigned long long") public long params_fence_value()
Value of fence to be signaled
-
params_fence_value
public CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS params_fence_value(long setter)
-
params_nvSciSync_fence
@Name("params.nvSciSync.fence") public Pointer params_nvSciSync_fence()
Pointer to NvSciSyncFence. Valid if ::CUexternalSemaphoreHandleType is of type ::CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_NVSCISYNC.
-
params_nvSciSync_fence
public CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS params_nvSciSync_fence(Pointer setter)
-
params_nvSciSync_reserved
@Name("params.nvSciSync.reserved") @Cast("unsigned long long") public long params_nvSciSync_reserved()
-
params_nvSciSync_reserved
public CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS params_nvSciSync_reserved(long setter)
-
params_keyedMutex_key
@Name("params.keyedMutex.key") @Cast("unsigned long long") public long params_keyedMutex_key()
Value of key to release the mutex with
-
params_keyedMutex_key
public CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS params_keyedMutex_key(long setter)
-
params_reserved
public CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS params_reserved(int i, int setter)
-
params_reserved
@Name("params.reserved") @MemberGetter @Cast("unsigned int*") public IntPointer params_reserved()
-
flags
@Cast("unsigned int") public int flags()
Only when ::CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS is used to signal a ::CUexternalSemaphore of type ::CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_NVSCISYNC, the valid flag is ::CUDA_EXTERNAL_SEMAPHORE_SIGNAL_SKIP_NVSCIBUF_MEMSYNC which indicates that while signaling the ::CUexternalSemaphore, no memory synchronization operations should be performed for any external memory object imported as ::CU_EXTERNAL_MEMORY_HANDLE_TYPE_NVSCIBUF. For all other types of ::CUexternalSemaphore, flags must be zero.
-
flags
public CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS flags(int setter)
-
reserved
@Cast("unsigned int") public int reserved(int i)
-
reserved
public CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS reserved(int i, int setter)
-
reserved
@MemberGetter @Cast("unsigned int*") public IntPointer reserved()
-
-