NVIDIA 2D Image And Signal Performance Primitives (NPP)  Version 11.5.0.*
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Functions

Signal-allocator methods for allocating 1D arrays of data in device memory. More...

Functions

Npp8unppsMalloc_8u (int nSize)
 8-bit unsigned signal allocator. More...
 
Npp8snppsMalloc_8s (int nSize)
 8-bit signed signal allocator. More...
 
Npp16unppsMalloc_16u (int nSize)
 16-bit unsigned signal allocator. More...
 
Npp16snppsMalloc_16s (int nSize)
 16-bit signal allocator. More...
 
Npp16scnppsMalloc_16sc (int nSize)
 16-bit complex-value signal allocator. More...
 
Npp32unppsMalloc_32u (int nSize)
 32-bit unsigned signal allocator. More...
 
Npp32snppsMalloc_32s (int nSize)
 32-bit integer signal allocator. More...
 
Npp32scnppsMalloc_32sc (int nSize)
 32-bit complex integer signal allocator. More...
 
Npp32fnppsMalloc_32f (int nSize)
 32-bit float signal allocator. More...
 
Npp32fcnppsMalloc_32fc (int nSize)
 32-bit complex float signal allocator. More...
 
Npp64snppsMalloc_64s (int nSize)
 64-bit long integer signal allocator. More...
 
Npp64scnppsMalloc_64sc (int nSize)
 64-bit complex long integer signal allocator. More...
 
Npp64fnppsMalloc_64f (int nSize)
 64-bit float (double) signal allocator. More...
 
Npp64fcnppsMalloc_64fc (int nSize)
 64-bit complex complex signal allocator. More...
 

Detailed Description

Signal-allocator methods for allocating 1D arrays of data in device memory.

All allocators have size parameters to specify the size of the signal (1D array) being allocated.

The allocator methods return a pointer to the newly allocated memory of appropriate type. If device-memory allocation is not possible due to resource constaints the allocators return 0 (i.e. NULL pointer).

All signal allocators allocate memory aligned such that it is beneficial to the performance of the majority of the signal-processing primitives. It is no mandatory however to use these allocators. Any valid CUDA device-memory pointers can be passed to NPP primitives.

Function Documentation

Npp16s* nppsMalloc_16s ( int  nSize)

16-bit signal allocator.

Parameters
nSizeNumber of shorts in the new signal.
Returns
A pointer to the new signal. 0 (NULL-pointer) indicates that an error occurred during allocation.
Npp16sc* nppsMalloc_16sc ( int  nSize)

16-bit complex-value signal allocator.

Parameters
nSizeNumber of 16-bit complex numbers in the new signal.
Returns
A pointer to the new signal. 0 (NULL-pointer) indicates that an error occurred during allocation.
Npp16u* nppsMalloc_16u ( int  nSize)

16-bit unsigned signal allocator.

Parameters
nSizeNumber of unsigned shorts in the new signal.
Returns
A pointer to the new signal. 0 (NULL-pointer) indicates that an error occurred during allocation.
Npp32f* nppsMalloc_32f ( int  nSize)

32-bit float signal allocator.

Parameters
nSizeNumber of floats in the new signal.
Returns
A pointer to the new signal. 0 (NULL-pointer) indicates that an error occurred during allocation.
Npp32fc* nppsMalloc_32fc ( int  nSize)

32-bit complex float signal allocator.

Parameters
nSizeNumber of complex float values in the new signal.
Returns
A pointer to the new signal. 0 (NULL-pointer) indicates that an error occurred during allocation.
Npp32s* nppsMalloc_32s ( int  nSize)

32-bit integer signal allocator.

Parameters
nSizeNumber of ints in the new signal.
Returns
A pointer to the new signal. 0 (NULL-pointer) indicates that an error occurred during allocation.
Npp32sc* nppsMalloc_32sc ( int  nSize)

32-bit complex integer signal allocator.

Parameters
nSizeNumber of complex integner values in the new signal.
Returns
A pointer to the new signal. 0 (NULL-pointer) indicates that an error occurred during allocation.
Npp32u* nppsMalloc_32u ( int  nSize)

32-bit unsigned signal allocator.

Parameters
nSizeNumber of unsigned ints in the new signal.
Returns
A pointer to the new signal. 0 (NULL-pointer) indicates that an error occurred during allocation.
Npp64f* nppsMalloc_64f ( int  nSize)

64-bit float (double) signal allocator.

Parameters
nSizeNumber of doubles in the new signal.
Returns
A pointer to the new signal. 0 (NULL-pointer) indicates that an error occurred during allocation.
Npp64fc* nppsMalloc_64fc ( int  nSize)

64-bit complex complex signal allocator.

Parameters
nSizeNumber of complex double valuess in the new signal.
Returns
A pointer to the new signal. 0 (NULL-pointer) indicates that an error occurred during allocation.
Npp64s* nppsMalloc_64s ( int  nSize)

64-bit long integer signal allocator.

Parameters
nSizeNumber of long ints in the new signal.
Returns
A pointer to the new signal. 0 (NULL-pointer) indicates that an error occurred during allocation.
Npp64sc* nppsMalloc_64sc ( int  nSize)

64-bit complex long integer signal allocator.

Parameters
nSizeNumber of complex long int values in the new signal.
Returns
A pointer to the new signal. 0 (NULL-pointer) indicates that an error occurred during allocation.
Npp8s* nppsMalloc_8s ( int  nSize)

8-bit signed signal allocator.

Parameters
nSizeNumber of (signed) chars in the new signal.
Returns
A pointer to the new signal. 0 (NULL-pointer) indicates that an error occurred during allocation.
Npp8u* nppsMalloc_8u ( int  nSize)

8-bit unsigned signal allocator.

Parameters
nSizeNumber of unsigned chars in the new signal.
Returns
A pointer to the new signal. 0 (NULL-pointer) indicates that an error occurred during allocation.

Copyright © 2009-2021 NVIDIA CORPORATION AND AFFILIATES