Package org.bytedeco.cuda.cudart
Class CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS extends Pointer
External semaphore wait 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_WAIT_PARAMS()Default native constructor.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS(long size)Native array allocator.CUDA_EXTERNAL_SEMAPHORE_WAIT_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_WAIT_PARAMS is used to wait on a ::CUexternalSemaphore of type ::CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_NVSCISYNC, the valid flag is ::CUDA_EXTERNAL_SEMAPHORE_WAIT_SKIP_NVSCIBUF_MEMSYNC which indicates that while waiting for 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_WAIT_PARAMSflags(int setter)CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMSgetPointer(long i)longparams_fence_value()Value of fence to be waited onCUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMSparams_fence_value(long setter)longparams_keyedMutex_key()Value of key to acquire the mutex withCUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMSparams_keyedMutex_key(long setter)intparams_keyedMutex_timeoutMs()Timeout in milliseconds to wait to acquire the mutexCUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMSparams_keyedMutex_timeoutMs(int setter)Pointerparams_nvSciSync_fence()Pointer to NvSciSyncFence.CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMSparams_nvSciSync_fence(Pointer setter)longparams_nvSciSync_reserved()CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMSparams_nvSciSync_reserved(long setter)IntPointerparams_reserved()intparams_reserved(int i)CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMSparams_reserved(int i, int setter)CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMSposition(long position)IntPointerreserved()intreserved(int i)CUDA_EXTERNAL_SEMAPHORE_WAIT_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_WAIT_PARAMS
public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS()
Default native constructor.
-
CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS
public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS(long size)
Native array allocator. Access withPointer.position(long).
-
CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS
public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS position(long position)
-
getPointer
public CUDA_EXTERNAL_SEMAPHORE_WAIT_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 waited on
-
params_fence_value
public CUDA_EXTERNAL_SEMAPHORE_WAIT_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_WAIT_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_WAIT_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 acquire the mutex with
-
params_keyedMutex_key
public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS params_keyedMutex_key(long setter)
-
params_keyedMutex_timeoutMs
@Name("params.keyedMutex.timeoutMs") @Cast("unsigned int") public int params_keyedMutex_timeoutMs()
Timeout in milliseconds to wait to acquire the mutex
-
params_keyedMutex_timeoutMs
public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS params_keyedMutex_timeoutMs(int setter)
-
params_reserved
public CUDA_EXTERNAL_SEMAPHORE_WAIT_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_WAIT_PARAMS is used to wait on a ::CUexternalSemaphore of type ::CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_NVSCISYNC, the valid flag is ::CUDA_EXTERNAL_SEMAPHORE_WAIT_SKIP_NVSCIBUF_MEMSYNC which indicates that while waiting for 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_WAIT_PARAMS flags(int setter)
-
reserved
@Cast("unsigned int") public int reserved(int i)
-
reserved
public CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS reserved(int i, int setter)
-
reserved
@MemberGetter @Cast("unsigned int*") public IntPointer reserved()
-
-