OpenCV  3.0.0-rc1
Open Source Computer Vision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
NPPST Core

Functions

cudaStream_t nppStGetActiveCUDAstream ()
 
cudaStream_t nppStSetActiveCUDAstream (cudaStream_t cudaStream)
 

Detailed Description

Basic functions for CUDA streams management.

Function Documentation

cudaStream_t nppStGetActiveCUDAstream ( )

Gets an active CUDA stream used by NPPST NOT THREAD SAFE

Returns
Current CUDA stream
cudaStream_t nppStSetActiveCUDAstream ( cudaStream_t  cudaStream)

Sets an active CUDA stream used by NPPST NOT THREAD SAFE

Parameters
cudaStream[IN] cudaStream CUDA stream to become current
Returns
CUDA stream used before