Package | Description |
---|---|
jcuda.driver |
Contains the classes related to the JCuda driver API.
|
Modifier and Type | Method and Description |
---|---|
static int |
JCudaDriver.cuMemCreate(CUmemGenericAllocationHandle handle,
long size,
CUmemAllocationProp prop,
long flags)
Create a shareable memory handle representing a memory allocation of a
given size described by the given properties.
|
static int |
JCudaDriver.cuMemExportToShareableHandle(Pointer shareableHandle,
CUmemGenericAllocationHandle handle,
int handleType,
long flags)
Exports an allocation to a requested shareable handle type.
|
static int |
JCudaDriver.cuMemGetAllocationPropertiesFromHandle(CUmemAllocationProp prop,
CUmemGenericAllocationHandle handle)
Retrieve the contents of the property structure defining properties for this handle
|
static int |
JCudaDriver.cuMemImportFromShareableHandle(CUmemGenericAllocationHandle handle,
Pointer osHandle,
int shHandleType)
Imports an allocation from a requested shareable handle type.
|
static int |
JCudaDriver.cuMemMap(CUdeviceptr ptr,
long size,
long offset,
CUmemGenericAllocationHandle handle,
long flags)
Maps an allocation handle to a reserved virtual address range.
|
static int |
JCudaDriver.cuMemRelease(CUmemGenericAllocationHandle handle)
Release a memory handle representing a memory allocation which was
previously allocated through cuMemCreate.
|
static int |
JCudaDriver.cuMemRetainAllocationHandle(CUmemGenericAllocationHandle handle,
Pointer addr)
Given an address addr, returns the allocation handle of the backing memory allocation.
|
Copyright © 2020. All rights reserved.