Skip to main content

Numpy Intel IPP signal.

Project description

Introduction

Numpy Intel IPP Signal is a Python wrapper for Intel IPP Signal functions.

Principles

Numpy Intel IPP Signal is based on a Setup and Payoff strategy

  • Setup : First Numpy data buffers and Intel IPP Signal operations are setup, this step can be slow.
  • Payoff : Then operations are executed as fast as possible with Intel IPP Signal or Numpy backend functions.

This strategy suits to deal with stream of data for example.

Example

# Two Numpy data buffers
src1 = numpy.ones(100, dtype=numpy.float32)
src2 = numpy.zeros(100, dtype=numpy.float32)

# A result buffer
dst = numpy.empty(100, dtype=numpy.float32)

# Intel IPP Signal Mul operation
mul = numpy_ipps.Mul(dtype=numpy.float32)

# Unpack Numpy buffer for fast access
with numpy_ipps.utils.context(src1, src2, dst):
    mul(src1, src2, dst)  # Fast multiplication: dst[n] <- src1[n] * src2[n]

Constructor parameters

Some parameters are often needed by the Setup step:

dtype

To properly select the Intel IPP Signal backend function, the type of the data has to be known.

size

For some operations, the size of the data has to be known to switch between Intel IPP Signal and Numpy backend.

accuracy

Most of Intel IPP Signal operations on float can be operated at three different levels.

List of operations

See more details at ReadTheDocs.io.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

numpy_ipps-2.2.1.dev0.tar.gz (62.3 MB view details)

Uploaded Source

File details

Details for the file numpy_ipps-2.2.1.dev0.tar.gz.

File metadata

  • Download URL: numpy_ipps-2.2.1.dev0.tar.gz
  • Upload date:
  • Size: 62.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2+

File hashes

Hashes for numpy_ipps-2.2.1.dev0.tar.gz
Algorithm Hash digest
SHA256 f8ac6c4c14c23f1ec7eaba56369de78993826667586cc3a883d69a2cadb9a0d1
MD5 a09879417c6d763c511ddbb36eb7504a
BLAKE2b-256 7459233d8736553d4d95ec11a574cb2f7e67a4803d8bff04bfe523bae4ef5a80

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page