public class CUmemAllocationProp extends Object
Modifier and Type | Field and Description |
---|---|
CUmemAllocationProp_allocFlags |
allocFlags |
CUmemLocation |
location
Location of allocation
|
int |
requestedHandleTypes
requested ::CUmemAllocationHandleType
|
int |
type
Allocation type
|
Pointer |
win32HandleMetaData
Windows-specific LPSECURITYATTRIBUTES required when
::CU_MEM_HANDLE_TYPE_WIN32 is specified.
|
Constructor and Description |
---|
CUmemAllocationProp()
Creates a new, uninitialized CUmemAllocationProp
|
CUmemAllocationProp(int type,
int requestedHandleTypes,
CUmemLocation location,
Pointer win32HandleMetaData,
CUmemAllocationProp_allocFlags allocFlags)
Creates a new CUmemAllocationProp with the given values
|
public int type
public int requestedHandleTypes
public CUmemLocation location
public Pointer win32HandleMetaData
Windows-specific LPSECURITYATTRIBUTES required when ::CU_MEM_HANDLE_TYPE_WIN32 is specified. This security attribute defines the scope of which exported allocations may be tranferred to other processes. In all other cases, this field is required to be zero.
public CUmemAllocationProp_allocFlags allocFlags
public CUmemAllocationProp()
public CUmemAllocationProp(int type, int requestedHandleTypes, CUmemLocation location, Pointer win32HandleMetaData, CUmemAllocationProp_allocFlags allocFlags)
type
- The type valuerequestedHandleTypes
- The requestedHandleTypes valuelocation
- The location valuewin32HandleMetaData
- The win32HandleMetaData valueallocFlags
- The allocFlags valueCopyright © 2020. All rights reserved.