public interface cudaStreamCallback
Modifier and Type | Method and Description |
---|---|
void |
call(cudaStream_t stream,
int status,
Object userData)
The function that will be called
|
void call(cudaStream_t stream, int status, Object userData)
stream
- The stream as passed to ::cudaStreamAddCallback, may be NULL.status
- ::cudaSuccess or any persistent error on the stream.userData
- User parameter provided at registration.Copyright © 2020. All rights reserved.