Package org.bytedeco.cuda.cudart
Class cudaExternalSemaphoreWaitParams
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.cudaExternalSemaphoreWaitParams
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class cudaExternalSemaphoreWaitParams 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 cudaExternalSemaphoreWaitParams()Default native constructor.cudaExternalSemaphoreWaitParams(long size)Native array allocator.cudaExternalSemaphoreWaitParams(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intflags()Only when ::cudaExternalSemaphoreSignalParams is used to signal a ::cudaExternalSemaphore_t of type ::cudaExternalSemaphoreHandleTypeNvSciSync, the valid flag is ::cudaExternalSemaphoreSignalSkipNvSciBufMemSync: which indicates that while waiting for the ::cudaExternalSemaphore_t, no memory synchronization operations should be performed for any external memory object imported as ::cudaExternalMemoryHandleTypeNvSciBuf.cudaExternalSemaphoreWaitParamsflags(int setter)cudaExternalSemaphoreWaitParamsgetPointer(long i)longparams_fence_value()Value of fence to be waited oncudaExternalSemaphoreWaitParamsparams_fence_value(long setter)longparams_keyedMutex_key()Value of key to acquire the mutex withcudaExternalSemaphoreWaitParamsparams_keyedMutex_key(long setter)intparams_keyedMutex_timeoutMs()Timeout in milliseconds to wait to acquire the mutexcudaExternalSemaphoreWaitParamsparams_keyedMutex_timeoutMs(int setter)Pointerparams_nvSciSync_fence()Pointer to NvSciSyncFence.cudaExternalSemaphoreWaitParamsparams_nvSciSync_fence(Pointer setter)longparams_nvSciSync_reserved()cudaExternalSemaphoreWaitParamsparams_nvSciSync_reserved(long setter)cudaExternalSemaphoreWaitParamsposition(long position)-
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
-
cudaExternalSemaphoreWaitParams
public cudaExternalSemaphoreWaitParams()
Default native constructor.
-
cudaExternalSemaphoreWaitParams
public cudaExternalSemaphoreWaitParams(long size)
Native array allocator. Access withPointer.position(long).
-
cudaExternalSemaphoreWaitParams
public cudaExternalSemaphoreWaitParams(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public cudaExternalSemaphoreWaitParams position(long position)
-
getPointer
public cudaExternalSemaphoreWaitParams 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 cudaExternalSemaphoreWaitParams params_fence_value(long setter)
-
params_nvSciSync_fence
@Name("params.nvSciSync.fence") public Pointer params_nvSciSync_fence()
Pointer to NvSciSyncFence. Valid if ::cudaExternalSemaphoreHandleType is of type ::cudaExternalSemaphoreHandleTypeNvSciSync.
-
params_nvSciSync_fence
public cudaExternalSemaphoreWaitParams 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 cudaExternalSemaphoreWaitParams 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 cudaExternalSemaphoreWaitParams 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 cudaExternalSemaphoreWaitParams params_keyedMutex_timeoutMs(int setter)
-
flags
@Cast("unsigned int") public int flags()
Only when ::cudaExternalSemaphoreSignalParams is used to signal a ::cudaExternalSemaphore_t of type ::cudaExternalSemaphoreHandleTypeNvSciSync, the valid flag is ::cudaExternalSemaphoreSignalSkipNvSciBufMemSync: which indicates that while waiting for the ::cudaExternalSemaphore_t, no memory synchronization operations should be performed for any external memory object imported as ::cudaExternalMemoryHandleTypeNvSciBuf. For all other types of ::cudaExternalSemaphore_t, flags must be zero.
-
flags
public cudaExternalSemaphoreWaitParams flags(int setter)
-
-