12.07.2015 Views

NVIDIA CUDA

NVIDIA CUDA

NVIDIA CUDA

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.22 Stream Management 115Parameters:hStream - Stream to destroyReturns:Note:<strong>CUDA</strong>_SUCCESS, <strong>CUDA</strong>_ERROR_DEINITIALIZED, <strong>CUDA</strong>_ERROR_NOT_INITIALIZED, <strong>CUDA</strong>_-ERROR_INVALID_CONTEXT, <strong>CUDA</strong>_ERROR_INVALID_VALUESee also:Note that this function may also return error codes from previous, asynchronous launches.cuStreamCreate, cuStreamQuery, cuStreamSynchronize3.22.2.3 CUresult cuStreamQuery (CUstream hStream)Returns <strong>CUDA</strong>_SUCCESS if all operations in the stream specified by hStream have completed, or <strong>CUDA</strong>_-ERROR_NOT_READY if not.Parameters:hStream - Stream to query status ofReturns:Note:<strong>CUDA</strong>_SUCCESS, <strong>CUDA</strong>_ERROR_DEINITIALIZED, <strong>CUDA</strong>_ERROR_NOT_INITIALIZED, <strong>CUDA</strong>_-ERROR_INVALID_CONTEXT, <strong>CUDA</strong>_ERROR_INVALID_HANDLE, <strong>CUDA</strong>_ERROR_NOT_READYSee also:Note that this function may also return error codes from previous, asynchronous launches.cuStreamCreate, cuStreamDestroy, cuStreamSynchronize3.22.2.4 CUresult cuStreamSynchronize (CUstream hStream)Waits until the device has completed all operations in the stream specified by hStream.Parameters:hStream - Stream to wait forReturns:Note:<strong>CUDA</strong>_SUCCESS, <strong>CUDA</strong>_ERROR_DEINITIALIZED, <strong>CUDA</strong>_ERROR_NOT_INITIALIZED, <strong>CUDA</strong>_-ERROR_INVALID_CONTEXT, <strong>CUDA</strong>_ERROR_INVALID_HANDLESee also:Note that this function may also return error codes from previous, asynchronous launches.cuStreamCreate, cuStreamDestroy, cuStreamQueryGenerated on Wed Apr 1 16:11:42 2009 for <strong>NVIDIA</strong> <strong>CUDA</strong> Library by Doxygen

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!