Package | Description |
---|---|
org.bytedeco.cuda.cudart | |
org.bytedeco.cuda.global |
Modifier and Type | Method and Description |
---|---|
CUmemAllocationProp_v1 |
CUmemAllocationProp_v1.allocFlags_compressionType(byte setter) |
CUmemAllocationProp_v1 |
CUmemAllocationProp_v1.allocFlags_gpuDirectRDMACapable(byte setter) |
CUmemAllocationProp_v1 |
CUmemAllocationProp_v1.allocFlags_reserved(int i,
byte setter) |
CUmemAllocationProp_v1 |
CUmemAllocationProp_v1.allocFlags_usage(short setter) |
CUmemAllocationProp_v1 |
CUmemAllocationProp_v1.getPointer(long i) |
CUmemAllocationProp_v1 |
CUmemAllocationProp_v1.location(CUmemLocation_v1 setter) |
CUmemAllocationProp_v1 |
CUmemAllocationProp_v1.position(long position) |
CUmemAllocationProp_v1 |
CUmemAllocationProp_v1.requestedHandleTypes(int setter) |
CUmemAllocationProp_v1 |
CUmemAllocationProp_v1.type(int setter) |
CUmemAllocationProp_v1 |
CUmemAllocationProp_v1.win32HandleMetaData(Pointer setter) |
Modifier and Type | Method and Description |
---|---|
static int |
cudart.cuMemCreate(long[] handle,
long size,
CUmemAllocationProp_v1 prop,
long flags) |
static int |
cudart.cuMemCreate(LongBuffer handle,
long size,
CUmemAllocationProp_v1 prop,
long flags) |
static int |
cudart.cuMemCreate(LongPointer handle,
long size,
CUmemAllocationProp_v1 prop,
long flags)
\brief Create a CUDA memory handle representing a memory allocation of a given size described by the given properties
This creates a memory allocation on the target device specified through the
\p prop structure.
|
static int |
cudart.cuMemGetAllocationGranularity(SizeTPointer granularity,
CUmemAllocationProp_v1 prop,
int option)
\brief Calculates either the minimal or recommended granularity
Calculates either the minimal or recommended granularity
for a given allocation specification and returns it in granularity.
|
static int |
cudart.cuMemGetAllocationPropertiesFromHandle(CUmemAllocationProp_v1 prop,
long handle)
\brief Retrieve the contents of the property structure defining properties for this handle
|
Copyright © 2024. All rights reserved.