@Properties(inherit=cudart.class) public class cudaExternalMemoryHandleDesc extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
cudaExternalMemoryHandleDesc()
Default native constructor.
|
cudaExternalMemoryHandleDesc(long size)
Native array allocator.
|
cudaExternalMemoryHandleDesc(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
flags()
Flags must either be zero or ::cudaExternalMemoryDedicated
|
cudaExternalMemoryHandleDesc |
flags(int setter) |
cudaExternalMemoryHandleDesc |
getPointer(long i) |
int |
handle_fd()
File descriptor referencing the memory object.
|
cudaExternalMemoryHandleDesc |
handle_fd(int setter) |
Pointer |
handle_nvSciBufObject()
A handle representing NvSciBuf Object.
|
cudaExternalMemoryHandleDesc |
handle_nvSciBufObject(Pointer setter) |
Pointer |
handle_win32_handle()
Valid NT handle.
|
cudaExternalMemoryHandleDesc |
handle_win32_handle(Pointer setter) |
Pointer |
handle_win32_name()
Name of a valid memory object.
|
cudaExternalMemoryHandleDesc |
handle_win32_name(Pointer setter) |
cudaExternalMemoryHandleDesc |
position(long position) |
long |
size()
Size of the memory allocation
|
cudaExternalMemoryHandleDesc |
size(long setter) |
int |
type()
Type of the handle
|
cudaExternalMemoryHandleDesc |
type(int setter) |
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, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic cudaExternalMemoryHandleDesc()
public cudaExternalMemoryHandleDesc(long size)
Pointer.position(long).public cudaExternalMemoryHandleDesc(Pointer p)
Pointer.Pointer(Pointer).public cudaExternalMemoryHandleDesc position(long position)
public cudaExternalMemoryHandleDesc getPointer(long i)
getPointer in class Pointerpublic cudaExternalMemoryHandleDesc type(int setter)
@Name(value="handle.fd") public int handle_fd()
public cudaExternalMemoryHandleDesc handle_fd(int setter)
@Name(value="handle.win32.handle") public Pointer handle_win32_handle()
public cudaExternalMemoryHandleDesc handle_win32_handle(Pointer setter)
@Name(value="handle.win32.name") @Const public Pointer handle_win32_name()
public cudaExternalMemoryHandleDesc handle_win32_name(Pointer setter)
@Name(value="handle.nvSciBufObject") @Const public Pointer handle_nvSciBufObject()
public cudaExternalMemoryHandleDesc handle_nvSciBufObject(Pointer setter)
public cudaExternalMemoryHandleDesc size(long setter)
@Cast(value="unsigned int") public int flags()
public cudaExternalMemoryHandleDesc flags(int setter)
Copyright © 2020. All rights reserved.