public interface CUstreamCallback
Modifier and Type | Method and Description |
---|---|
void |
call(CUstream hStream,
int status,
Object userData)
The function that will be called
|
void call(CUstream hStream, int status, Object userData)
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.Copyright © 2020. All rights reserved.