Package | Description |
---|---|
jcuda.driver | |
jcuda.runtime |
Constructor and Description |
---|
CUstream(cudaStream_t stream)
Creates a CUstream for the given
cudaStream_t . |
Modifier and Type | Method and Description |
---|---|
void |
cudaStreamCallback.call(cudaStream_t stream,
int status,
Object userData)
The function that will be called
|
static int |
JCuda.cudaConfigureCall(dim3 gridDim,
dim3 blockDim,
long sharedMem,
cudaStream_t stream)
Configure a device-launch.
|
static int |
JCuda.cudaEventRecord(cudaEvent_t event,
cudaStream_t stream)
Records an event.
|
static int |
JCuda.cudaGLMapBufferObjectAsync(Pointer devPtr,
int bufObj,
cudaStream_t stream)
Maps a buffer object for access by CUDA.
|
static int |
JCuda.cudaGLUnmapBufferObjectAsync(int bufObj,
cudaStream_t stream)
Unmaps a buffer object for access by CUDA.
|
static int |
JCuda.cudaGraphicsMapResources(int count,
cudaGraphicsResource[] resources,
cudaStream_t stream)
Map graphics resources for access by CUDA.
|
static int |
JCuda.cudaGraphicsUnmapResources(int count,
cudaGraphicsResource[] resources,
cudaStream_t stream)
Unmap graphics resources.
|
static int |
JCuda.cudaMemcpy2DAsync(Pointer dst,
long dpitch,
Pointer src,
long spitch,
long width,
long height,
int cudaMemcpyKind_kind,
cudaStream_t stream)
Copies data between host and device.
|
static int |
JCuda.cudaMemcpy2DFromArrayAsync(Pointer dst,
long dpitch,
cudaArray src,
long wOffset,
long hOffset,
long width,
long height,
int cudaMemcpyKind_kind,
cudaStream_t stream)
Copies data between host and device.
|
static int |
JCuda.cudaMemcpy2DToArrayAsync(cudaArray dst,
long wOffset,
long hOffset,
Pointer src,
long spitch,
long width,
long height,
int cudaMemcpyKind_kind,
cudaStream_t stream)
Copies data between host and device.
|
static int |
JCuda.cudaMemcpy3DAsync(cudaMemcpy3DParms p,
cudaStream_t stream)
Copies data between 3D objects.
|
static int |
JCuda.cudaMemcpy3DPeerAsync(cudaMemcpy3DPeerParms p,
cudaStream_t stream)
Copies memory between devices asynchronously.
|
static int |
JCuda.cudaMemcpyAsync(Pointer dst,
Pointer src,
long count,
int cudaMemcpyKind_kind,
cudaStream_t stream)
Copies data between host and device.
|
static int |
JCuda.cudaMemcpyFromArrayAsync(Pointer dst,
cudaArray src,
long wOffset,
long hOffset,
long count,
int cudaMemcpyKind_kind,
cudaStream_t stream)
Copies data between host and device.
|
static int |
JCuda.cudaMemcpyFromSymbolAsync(Pointer dst,
String symbol,
long count,
long offset,
int cudaMemcpyKind_kind,
cudaStream_t stream)
[C++ API] Copies data from the given symbol on the device
|
static int |
JCuda.cudaMemcpyPeerAsync(Pointer dst,
int dstDevice,
Pointer src,
int srcDevice,
long count,
cudaStream_t stream)
Copies memory between two devices asynchronously.
|
static int |
JCuda.cudaMemcpyToArrayAsync(cudaArray dst,
long wOffset,
long hOffset,
Pointer src,
long count,
int cudaMemcpyKind_kind,
cudaStream_t stream)
Copies data between host and device.
|
static int |
JCuda.cudaMemcpyToSymbolAsync(String symbol,
Pointer src,
long count,
long offset,
int cudaMemcpyKind_kind,
cudaStream_t stream)
[C++ API] Copies data to the given symbol on the device
|
static int |
JCuda.cudaMemset2DAsync(Pointer devPtr,
long pitch,
int value,
long width,
long height,
cudaStream_t stream)
Initializes or sets device memory to a value.
|
static int |
JCuda.cudaMemset3DAsync(cudaPitchedPtr pitchedDevPtr,
int value,
cudaExtent extent,
cudaStream_t stream)
Initializes or sets device memory to a value.
|
static int |
JCuda.cudaMemsetAsync(Pointer devPtr,
int value,
long count,
cudaStream_t stream)
Initializes or sets device memory to a value.
|
static int |
JCuda.cudaStreamAddCallback(cudaStream_t stream,
cudaStreamCallback callback,
Object userData,
int flags)
Add a callback to a compute stream.
|
static int |
JCuda.cudaStreamAttachMemAsync(cudaStream_t stream,
Pointer devPtr,
long length,
int flags) |
static int |
JCuda.cudaStreamCreate(cudaStream_t stream)
Create an asynchronous stream.
|
static int |
JCuda.cudaStreamCreateWithFlags(cudaStream_t pStream,
int flags)
Create an asynchronous stream.
|
static int |
JCuda.cudaStreamCreateWithPriority(cudaStream_t pStream,
int flags,
int priority) |
static int |
JCuda.cudaStreamDestroy(cudaStream_t stream)
Destroys and cleans up an asynchronous stream.
|
static int |
JCuda.cudaStreamGetFlags(cudaStream_t hStream,
int[] flags) |
static int |
JCuda.cudaStreamGetPriority(cudaStream_t hStream,
int[] priority) |
static int |
JCuda.cudaStreamQuery(cudaStream_t stream)
Queries an asynchronous stream for completion status.
|
static int |
JCuda.cudaStreamSynchronize(cudaStream_t stream)
Waits for stream tasks to complete.
|
static int |
JCuda.cudaStreamWaitEvent(cudaStream_t stream,
cudaEvent_t event,
int flags)
Make a compute stream wait on an event.
|
Copyright © 2014. All Rights Reserved.