Skip to main content

SIMDe header build-requirements for Python C extensions

Project description

simde-py

PyPI version

Python package providing SIMD Everywhere (SIMDe) header files for building Python C extensions with portable SIMD intrinsics.

SIMDe is a header-only C library that provides fast, portable implementations of SIMD intrinsics. It allows you to use SSE functions on ARM, or NEON functions on x86, with zero overhead when native implementation is available.

Installation

As a build dependency in pyproject.toml:

[build-system]
requires = ["setuptools", "simde-py"]

Usage

import simde_py

# Get include directory for your extension
include_dir = simde_py.get_include()

In your C code:

#include "simde/x86/sse2.h"
#include "simde/arm/neon.h"
// SIMD code works everywhere

API

simde_py.get_include()

Returns the path to the SIMDe header files directory.

License

SIMDe is distributed under an MIT-style license; see COPYING for details.

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

simde_py-0.8.2.post1.tar.gz (722.4 kB view details)

Uploaded Source

File details

Details for the file simde_py-0.8.2.post1.tar.gz.

File metadata

  • Download URL: simde_py-0.8.2.post1.tar.gz
  • Upload date:
  • Size: 722.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for simde_py-0.8.2.post1.tar.gz
Algorithm Hash digest
SHA256 d7eebe0728d44a5e1fef186ed7810407465e835a2ead45ce0c22eefadd66dbf6
MD5 b9f7b3aad8a16cd849909a63fb76339e
BLAKE2b-256 6d535d46f64168c67597f657f3edb7ae94b7cda0fefe2db2a15568f03f70a673

See more details on using hashes here.

Provenance

The following attestation bundles were made for simde_py-0.8.2.post1.tar.gz:

Publisher: deploy.yaml on miili/simde-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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