jcuda.driver
Interface CUstreamCallback
public interface CUstreamCallback
Interface for emulating a CUDA stream callback.
- See Also:
JCudaDriver.cuStreamAddCallback(CUstream, CUstreamCallback, Object, int)
|
Method Summary |
void |
call(CUstream hStream,
int status,
java.lang.Object userData)
The function that will be called |
call
void call(CUstream hStream,
int status,
java.lang.Object userData)
- The function that will be called
- Parameters:
hStream - The stream the callback was added to, as passed to
JCudaDriver.cuStreamAddCallback(CUstream, CUstreamCallback, Object, int).
May be NULL.status - CUDA_SUCCESS or any persistent error on the stream.userData - User parameter provided at registration.