NPP Core

Basic functions for library management, in particular library version and device property query functions. More...

Functions

const NppLibraryVersionnppGetLibVersion ()
 Get the NPP library version.
NppGpuComputeCapability nppGetGpuComputeCapability ()
 What CUDA compute model is supported by the default CUDA device?
int nppGetGpuNumSMs ()
 Get the number of Streaming Multiprocessors (SM) on the default CUDA device.
const char * nppGetGpuName ()
 Get the name of the default CUDA device.

Detailed Description

Basic functions for library management, in particular library version and device property query functions.


Function Documentation

NppGpuComputeCapability nppGetGpuComputeCapability (  ) 

What CUDA compute model is supported by the default CUDA device?

Before trying to call any NPP functions, the user should make a call this function to ensure that the current machine has a CUDA capable device.

Returns:
An enum value representing if a CUDA capable device was found and what level of compute capabilities it supports.

const char* nppGetGpuName (  ) 

Get the name of the default CUDA device.

Returns:
Name string of the graphics-card/compute device in a system.

int nppGetGpuNumSMs (  ) 

Get the number of Streaming Multiprocessors (SM) on the default CUDA device.

Returns:
Number of SMs of the default CUDA device.

const NppLibraryVersion* nppGetLibVersion (  ) 

Get the NPP library version.

Returns:
A struct containing separate values for major and minor revision and build number.


Copyright © 2009 NVIDIA Corporation