NPPST 核心 CUDA 加速的计算机视觉 » 传统支持


函数

cudaStream_t  nppStGetActiveCUDAstream ()
 
cudaStream_t  nppStSetActiveCUDAstream (cudaStream_t cudaStream)
 

详细描述

Basic functions for CUDA streams management.

函数文档编制

◆  nppStGetActiveCUDAstream()

cudaStream_t nppStGetActiveCUDAstream ( )

#include < opencv2/cudalegacy/NPP_staging.hpp >

Gets an active CUDA stream used by NPPST NOT THREAD SAFE

返回
Current CUDA stream

◆  nppStSetActiveCUDAstream()

cudaStream_t nppStSetActiveCUDAstream ( cudaStream_t  cudaStream )

#include < opencv2/cudalegacy/NPP_staging.hpp >

Sets an active CUDA stream used by NPPST NOT THREAD SAFE

参数
cudaStream [IN] cudaStream CUDA stream to become current
返回
CUDA stream used before