Skip to main content

A high-performance CUDA library for fused matrix multiplication with ReLU

Project description

🚀 cuMatfuse

cuMatfuse is a minimal CUDA library for fused matrix multiplication with ReLU activation: C = ReLU(A × B)

✨ Features

  • CUDA-accelerated fused GEMM with ReLU
  • Lightweight and portable
  • Easy to extend and integrate into ML inference pipelines

🛠 Requirements

  • NVIDIA GPU (Compute Capability 7.0+)
  • CUDA Toolkit ≥ 11.8
  • CMake ≥ 3.18
  • Linux or Windows

🔧 Build Instructions

git clone https://github.com/divakar-yadav/cuMatfuse.git
cd cuMatfuse
mkdir build && cd build
cmake ..
make

🧪 Run Example

./cuMatfuse_demo

Expected Output:

C = ReLU(A × B):
22 28
49 64
76 100
6 8

📦 License

MIT

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

cumatfuse-0.1.0.tar.gz (3.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cumatfuse-0.1.0-cp312-cp312-manylinux_2_39_x86_64.whl (273.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.39+ x86-64

File details

Details for the file cumatfuse-0.1.0.tar.gz.

File metadata

  • Download URL: cumatfuse-0.1.0.tar.gz
  • Upload date:
  • Size: 3.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for cumatfuse-0.1.0.tar.gz
Algorithm Hash digest
SHA256 183af010cb5099695394e868f7a1b3ebd3884f33dcd222accedf9a1c65177339
MD5 a346782cefe9b467319bf2a1c2eb854a
BLAKE2b-256 786d43de35efff6942aa9f6114fa12fcc94f2dc4712b5ab1b6ac191fc9ad8921

See more details on using hashes here.

File details

Details for the file cumatfuse-0.1.0-cp312-cp312-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for cumatfuse-0.1.0-cp312-cp312-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 7f99f5d5e4f7746ddefb7026263b361147c02d322dd3b1b542f42d873dca80ec
MD5 d9e3b8d6a112daf57b5f1b276913bc4e
BLAKE2b-256 92b137e66c05a5942b6abfa201d2381d876f72c48857152cd2a7ef77d6e1d15f

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