Package | Description |
---|---|
jcuda.driver |
Contains the classes related to the JCuda driver API.
|
jcuda.runtime |
Contains the classes related to the JCuda runtime API.
|
Constructor and Description |
---|
CUevent(cudaEvent_t event)
Creates a CUevent for the given
cudaEvent_t . |
Modifier and Type | Method and Description |
---|---|
static int |
JCuda.cudaEventCreate(cudaEvent_t event)
[C++ API] Creates an event object with the specified flags
cudaError_t cudaEventCreate (
cudaEvent_t* event,
unsigned int flags )
[C++ API] Creates an event object with
the specified flags Creates an event object with the specified flags.
|
static int |
JCuda.cudaEventCreateWithFlags(cudaEvent_t event,
int flags)
Creates an event object with the specified flags.
|
static int |
JCuda.cudaEventDestroy(cudaEvent_t event)
Destroys an event object.
|
static int |
JCuda.cudaEventElapsedTime(float[] ms,
cudaEvent_t start,
cudaEvent_t end)
Computes the elapsed time between events.
|
static int |
JCuda.cudaEventQuery(cudaEvent_t event)
Queries an event's status.
|
static int |
JCuda.cudaEventRecord(cudaEvent_t event,
cudaStream_t stream)
Records an event.
|
static int |
JCuda.cudaEventSynchronize(cudaEvent_t event)
Waits for an event to complete.
|
static int |
JCuda.cudaIpcGetEventHandle(cudaIpcEventHandle handle,
cudaEvent_t event)
Gets an interprocess handle for a previously allocated event.
|
static int |
JCuda.cudaIpcOpenEventHandle(cudaEvent_t event,
cudaIpcEventHandle handle)
Opens an interprocess event handle for use in the current process.
|
static int |
JCuda.cudaStreamWaitEvent(cudaStream_t stream,
cudaEvent_t event,
int flags)
Make a compute stream wait on an event.
|
Copyright © 2020. All rights reserved.