@Properties(inherit=cudart.class) public class cudaExternalSemaphoreHandleDesc extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
cudaExternalSemaphoreHandleDesc()
Default native constructor.
|
cudaExternalSemaphoreHandleDesc(long size)
Native array allocator.
|
cudaExternalSemaphoreHandleDesc(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
flags()
Flags reserved for the future.
|
cudaExternalSemaphoreHandleDesc |
flags(int setter) |
cudaExternalSemaphoreHandleDesc |
getPointer(long i) |
int |
handle_fd()
File descriptor referencing the semaphore object.
|
cudaExternalSemaphoreHandleDesc |
handle_fd(int setter) |
Pointer |
handle_nvSciSyncObj()
Valid NvSciSyncObj.
|
cudaExternalSemaphoreHandleDesc |
handle_nvSciSyncObj(Pointer setter) |
Pointer |
handle_win32_handle()
Valid NT handle.
|
cudaExternalSemaphoreHandleDesc |
handle_win32_handle(Pointer setter) |
Pointer |
handle_win32_name()
Name of a valid synchronization primitive.
|
cudaExternalSemaphoreHandleDesc |
handle_win32_name(Pointer setter) |
cudaExternalSemaphoreHandleDesc |
position(long position) |
int |
type()
Type of the handle
|
cudaExternalSemaphoreHandleDesc |
type(int 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, zero
public cudaExternalSemaphoreHandleDesc()
public cudaExternalSemaphoreHandleDesc(long size)
Pointer.position(long)
.public cudaExternalSemaphoreHandleDesc(Pointer p)
Pointer(Pointer)
.public cudaExternalSemaphoreHandleDesc position(long position)
public cudaExternalSemaphoreHandleDesc getPointer(long i)
getPointer
in class Pointer
public cudaExternalSemaphoreHandleDesc type(int setter)
@Name(value="handle.fd") public int handle_fd()
public cudaExternalSemaphoreHandleDesc handle_fd(int setter)
@Name(value="handle.win32.handle") public Pointer handle_win32_handle()
public cudaExternalSemaphoreHandleDesc handle_win32_handle(Pointer setter)
@Name(value="handle.win32.name") @Const public Pointer handle_win32_name()
public cudaExternalSemaphoreHandleDesc handle_win32_name(Pointer setter)
@Name(value="handle.nvSciSyncObj") @Const public Pointer handle_nvSciSyncObj()
public cudaExternalSemaphoreHandleDesc handle_nvSciSyncObj(Pointer setter)
public cudaExternalSemaphoreHandleDesc flags(int setter)
Copyright © 2024. All rights reserved.