W3cubDocs

/PointCloudLibrary

Basic functions for CUDA streams management. More...

Detailed Description

Basic functions for CUDA streams management.

Functions

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

Function Documentation

nppStGetActiveCUDAstream()

NCV_EXPORTS cudaStream_t nppStGetActiveCUDAstream ( )

#include </__w/1/s/gpu/people/src/cuda/nvidia/NPP_staging.hpp>

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

Returns
Current CUDA stream

nppStSetActiveCUDAstream()

NCV_EXPORTS cudaStream_t nppStSetActiveCUDAstream ( cudaStream_t cudaStream )

#include </__w/1/s/gpu/people/src/cuda/nvidia/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

© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/group__core__npp.html