Package org.bytedeco.cuda.cudart
Class cudaExternalSemaphoreHandleDesc
- java.lang.Object
-
- org.bytedeco.javacpp.Pointer
-
- org.bytedeco.cuda.cudart.cudaExternalSemaphoreHandleDesc
-
- All Implemented Interfaces:
AutoCloseable
@Properties(inherit=cudart.class) public class cudaExternalSemaphoreHandleDesc extends Pointer
External semaphore handle descriptor
-
-
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 cudaExternalSemaphoreHandleDesc()Default native constructor.cudaExternalSemaphoreHandleDesc(long size)Native array allocator.cudaExternalSemaphoreHandleDesc(Pointer p)Pointer cast constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intflags()Flags reserved for the future.cudaExternalSemaphoreHandleDescflags(int setter)cudaExternalSemaphoreHandleDescgetPointer(long i)inthandle_fd()File descriptor referencing the semaphore object.cudaExternalSemaphoreHandleDeschandle_fd(int setter)Pointerhandle_nvSciSyncObj()Valid NvSciSyncObj.cudaExternalSemaphoreHandleDeschandle_nvSciSyncObj(Pointer setter)Pointerhandle_win32_handle()Valid NT handle.cudaExternalSemaphoreHandleDeschandle_win32_handle(Pointer setter)Pointerhandle_win32_name()Name of a valid synchronization primitive.cudaExternalSemaphoreHandleDeschandle_win32_name(Pointer setter)cudaExternalSemaphoreHandleDescposition(long position)inttype()Type of the handlecudaExternalSemaphoreHandleDesctype(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
-
cudaExternalSemaphoreHandleDesc
public cudaExternalSemaphoreHandleDesc()
Default native constructor.
-
cudaExternalSemaphoreHandleDesc
public cudaExternalSemaphoreHandleDesc(long size)
Native array allocator. Access withPointer.position(long).
-
cudaExternalSemaphoreHandleDesc
public cudaExternalSemaphoreHandleDesc(Pointer p)
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Detail
-
position
public cudaExternalSemaphoreHandleDesc position(long position)
-
getPointer
public cudaExternalSemaphoreHandleDesc getPointer(long i)
- Overrides:
getPointerin classPointer
-
type
@Cast("cudaExternalSemaphoreHandleType") public int type()
Type of the handle
-
type
public cudaExternalSemaphoreHandleDesc type(int setter)
-
handle_fd
@Name("handle.fd") public int handle_fd()
File descriptor referencing the semaphore object. Valid when type is ::cudaExternalSemaphoreHandleTypeOpaqueFd
-
handle_fd
public cudaExternalSemaphoreHandleDesc handle_fd(int setter)
-
handle_win32_handle
@Name("handle.win32.handle") public Pointer handle_win32_handle()
Valid NT handle. Must be NULL if 'name' is non-NULL
-
handle_win32_handle
public cudaExternalSemaphoreHandleDesc handle_win32_handle(Pointer setter)
-
handle_win32_name
@Name("handle.win32.name") @Const public Pointer handle_win32_name()
Name of a valid synchronization primitive. Must be NULL if 'handle' is non-NULL.
-
handle_win32_name
public cudaExternalSemaphoreHandleDesc handle_win32_name(Pointer setter)
-
handle_nvSciSyncObj
@Name("handle.nvSciSyncObj") @Const public Pointer handle_nvSciSyncObj()
Valid NvSciSyncObj. Must be non NULL
-
handle_nvSciSyncObj
public cudaExternalSemaphoreHandleDesc handle_nvSciSyncObj(Pointer setter)
-
flags
@Cast("unsigned int") public int flags()
Flags reserved for the future. Must be zero.
-
flags
public cudaExternalSemaphoreHandleDesc flags(int setter)
-
-