Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Rust
  3. collenchyma

collenchyma

Apache-2.0Rust

An extensible Rust framework for backend-agnostic, high-performance parallel computations on CUDA, OpenCL, and CPU.

Visit WebsiteGitHubGitHub
482 stars33 forks0 contributors

What is collenchyma?

Collenchyma is an extensible, high-performance computing framework written in Rust that abstracts over CUDA, OpenCL, and CPU backends. It enables developers to write parallel computations once and run them on any hardware, automatically falling back to the CPU if GPU frameworks are missing, solving the problem of environment-specific code adaptations.

Target Audience

Rust developers working on performance-critical applications like machine learning, scientific computing, or data processing who need portable GPU acceleration without complex setup.

Value Proposition

Developers choose Collenchyma for its backend-agnostic design, which eliminates the need to rewrite code for different hardware, combined with its plugin system for easy extensibility and minimal build overhead compared to traditional HPC frameworks.

Overview

Extendable HPC-Framework for CUDA, OpenCL and common CPU

Use Cases

Best For

  • Building machine learning frameworks that require portable GPU acceleration
  • Developing scientific computing applications with cross-hardware support
  • Creating data processing pipelines that leverage both CPU and GPU resources
  • Writing custom parallel operations for CUDA or OpenCL without low-level boilerplate
  • Prototyping high-performance algorithms that must run on diverse deployment environments
  • Extending existing Rust applications with pluggable computation backends

Not Ideal For

  • Teams requiring a stable, production-ready GPU computation library with extensive built-in operations
  • Projects not using Rust or needing multi-language support beyond Rust's ecosystem
  • Applications demanding fine-grained, low-level control over GPU memory and optimizations without abstraction overhead
  • Environments where GPU frameworks are always available and CPU fallback adds unnecessary complexity

Pros & Cons

Pros

Backend Portability

Abstracts over CUDA, OpenCL, and CPU with a unified interface, allowing code to run on any hardware without changes, as highlighted in the README's focus on eliminating environment-specific adaptations.

Parallel Performance

Leverages all available CPU/GPU cores through optimized plugins, accelerating computations for supported operations like those in the BLAS and NN plugins.

Extensible Plugin System

Simplifies creating custom GPU operations by handling framework peculiarities and memory management, enabling easy extension with plugins for domain-specific needs.

Simplified Build Process

Reduces build complexity by not requiring framework installations; it checks capabilities at runtime and falls back to CPU, minimizing setup time for developers.

Cons

Early Development Stage

The README disclaimer states it's in a very early stage, meaning it may have bugs, incomplete features, and lack stability for production deployments.

Limited Core Operations

Comes without any built-in operations; users must depend on separate plugins for basic functionalities like linear algebra, adding dependency management overhead.

Rust-Only Dependency

As a Rust crate, it excludes developers using other programming languages, limiting integration in mixed-technology stacks and broader adoption.

Frequently Asked Questions

Quick Stats

Stars482
Forks33
Contributors0
Open Issues23
Last commit10 years ago
CreatedSince 2015

Tags

#cuda#parallel-computing#opencl#backend-agnostic#gpu-computing#extensible-framework#hpc#rust#machine-learning

Built With

R
Rust

Links & Resources

Website

Included in

Rust56.6k
Auto-fetched 18 hours ago

Related Projects

nalgebranalgebra

Linear algebra library for Rust.

Stars4,765
Forks558
Last commit24 days ago
faer-rsfaer-rs

Linear algebra foundation for the Rust programming language

Stars2,564
Forks101
Last commit1 month ago
emuemu

The write-once-run-anywhere GPGPU library for Rust

Stars1,604
Forks52
Last commit3 years ago
argminargmin

Numerical optimization in pure Rust

Stars1,269
Forks115
Last commit8 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub