OpenCV  3.2.0-dev
Open Source Computer Vision

Basic functions for CUDA streams management. More...

Collaboration diagram for NPPST Core:

Functions

cudaStream_t nppStGetActiveCUDAstream ()
 Gets an active CUDA stream used by NPPST NOT THREAD SAFE. More...
 
cudaStream_t nppStSetActiveCUDAstream (cudaStream_t cudaStream)
 Sets an active CUDA stream used by NPPST NOT THREAD SAFE. More...
 

Detailed Description

Basic functions for CUDA streams management.

Function Documentation

cudaStream_t nppStGetActiveCUDAstream ( )

#include <cudalegacy/include/opencv2/cudalegacy/NPP_staging.hpp>

Gets an active CUDA stream used by NPPST NOT THREAD SAFE.

Returns
Current CUDA stream
cudaStream_t nppStSetActiveCUDAstream ( cudaStream_t  cudaStream)

#include <cudalegacy/include/opencv2/cudalegacy/NPP_staging.hpp>

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