| Package | Description |
|---|---|
| org.bytedeco.cuda.cudart | |
| org.bytedeco.cuda.global |
| Modifier and Type | Method and Description |
|---|---|
CUmemAllocationProp |
CUmemAllocationProp.location(CUmemLocation setter) |
CUmemAllocationProp |
CUmemAllocationProp.position(long position) |
CUmemAllocationProp |
CUmemAllocationProp.requestedHandleTypes(int setter) |
CUmemAllocationProp |
CUmemAllocationProp.reserved(long setter) |
CUmemAllocationProp |
CUmemAllocationProp.type(int setter) |
CUmemAllocationProp |
CUmemAllocationProp.win32HandleMetaData(Pointer setter) |
| Modifier and Type | Method and Description |
|---|---|
static int |
cudart.cuMemCreate(long[] handle,
long size,
CUmemAllocationProp prop,
long flags) |
static int |
cudart.cuMemCreate(LongBuffer handle,
long size,
CUmemAllocationProp prop,
long flags) |
static int |
cudart.cuMemCreate(LongPointer handle,
long size,
CUmemAllocationProp prop,
long flags)
\brief Create a shareable 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 strcuture.
|
static int |
cudart.cuMemGetAllocationGranularity(SizeTPointer granularity,
CUmemAllocationProp 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 prop,
long handle)
\brief Retrieve the contents of the property structure defining properties for this handle
|
Copyright © 2019. All rights reserved.