Skip to main content

GPU-GEMM generator for the Discontinuous Galerkin method

Installation

For users

pip install gemmforge

For developers

git clone https://github.com/ravil-mobile/gemmforge.git gemmforge
cd gemmforge
pip install -e .

Usage

from gemmforge import DenseMatrix, GemmGenerator, GenerationError
from gemmforge import arch

arch = arch.produce("nvidia", "sm_60")

mat_a = DenseMatrix(num_rows=56,
                    num_cols=9,
                    addressing="strided",
                    bbox=[0, 0, 55, 8],
                    transpose=False)

mat_b = DenseMatrix(num_rows=9,
                    num_cols=9,
                    addressing="strided",
                    bbox=[0, 0, 8, 8],
                    transpose=False)


mat_c = DenseMatrix(num_rows=56,
                    num_cols=9,
                    bbox=[0, 0, 55, 8],
                    addressing="strided",
                    transpose=False)
try:
    gen = GemmGenerator(arch, "float")
    gen.generate(mat_a, mat_b, mat_c, alpha=1.1, beta=1.1)
    print(gen.get_kernel())
    print(gen.get_launcher())
    print(gen.get_launcher_header())

except GenerationError as err:
    print("ERROR: {}".format(err))
    raise err

Metadata

Release files for gemmforge 0.0.202

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gemmforge 0.0.202
File Size Uploaded Provenance Actions
gemmforge-0.0.202.tar.gz 19.7 kB Without provenance Details for gemmforge-0.0.202.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gemmforge 0.0.202
File Interpreter ABI Platform Actions
gemmforge-0.0.202-py3-none-any.whl Python 3 none any Details for gemmforge-0.0.202-py3-none-any.whl

Total release size: 49.4 kB

Release files / gemmforge-0.0.202.tar.gz

Download URL gemmforge-0.0.202.tar.gz
Size 19.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b43f2d495f2c213f324a688c5496481279cfa9e811e609b8ee97f5ed42eeee70
BLAKE2b-256 checksum
How to use checksums
76ef6105baffde2422b8a46293068f2650f94cee7aed34e872e642adcb396d31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / gemmforge-0.0.202-py3-none-any.whl

Download URL gemmforge-0.0.202-py3-none-any.whl
Size 29.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4b2441d76654243306178815a2d81965b157f6babf22b188166eaa4ebe30cd4
BLAKE2b-256 checksum
How to use checksums
f7797e42fb420bb0177a1d9341d723a870373af325e0603504c9508f7e3c72dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Security for gemmforge 0.0.202

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page