51 #include <cuda_runtime_api.h>
unsigned int nppGetStreamNumSMs(void)
Get the number of SMs on the device associated with the current NPP CUDA stream.
NppStatus nppSetStream(cudaStream_t hStream)
Set the NPP CUDA stream.
NppStatus
Error Status Codes.
Definition: nppdefs.h:170
int nppGetMaxThreadsPerBlock(void)
Get the maximum number of threads per block on the active CUDA device.
const NppLibraryVersion * nppGetLibVersion(void)
Get the NPP library version.
int nppGetMaxThreadsPerSM(void)
Get the maximum number of threads per SM for the active GPU.
NPP stream context structure must be filled in by application.
Definition: nppdefs.h:612
cudaStream_t nppGetStream(void)
Get the NPP CUDA stream.
const char * nppGetGpuName(void)
Get the name of the active CUDA device.
int nppGetGpuDeviceProperties(int *pMaxThreadsPerSM, int *pMaxThreadsPerBlock, int *pNumberOfSMs)
Get the maximum number of threads per SM, maximum threads per block, and number of SMs for the active...
int nppGetGpuNumSMs(void)
Get the number of Streaming Multiprocessors (SM) on the active CUDA device.
unsigned int nppGetStreamMaxThreadsPerSM(void)
Get the maximum number of threads per SM on the device associated with the current NPP CUDA stream...
NppStatus nppGetStreamContext(NppStreamContext *pNppStreamContext)
Get the current NPP managed CUDA stream context as set by calls to nppSetStream().
Definition: nppdefs.h:257