TinyChain-Inc / TinyChain-Inc/ha-ndarray

Implement CubeCL reductions and linear-algebra parity

Open
#36 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
3
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Objective

Complete the numerically sensitive CubeCL tranche for reductions and current linear-algebra operations, including matrix multiplication.

Scope

All existing reductions, aggregation edge cases, matrix multiplication and other current linalg operations. Define deterministic behavior where guaranteed and explicit tolerances where parallel order changes floating-point results.

Acceptance criteria

  • CubeCL conformance covers every current reduction and linalg operation supported by OpenCL.
  • Empty axes, singleton axes, non-contiguous inputs, mixed supported dtypes, overflow/error cases, and batched shapes are tested where applicable.
  • Matmul/reduction outputs match host references within documented tolerances.
  • Kernel configuration does not assume NVIDIA-specific warp dimensions.
  • Benchmarks record compilation separately from warm execution.

Parent: #33

Tembo-sized implementation issues

  • #44 — reductions and numerical conformance
  • #45 — matrix multiplication and current linalg operations

#44 and #45 may run concurrently after their shared runtime/elementwise prerequisites.

Tembo program boundary

This parent is a non-executable acceptance rollup. Tembo must be assigned to the child issues, and may not close this issue from a child PR.

automation:
  eligible: false
  executor_profile: tembo
  readiness: rollup
  primary_repository: TinyChain-Inc/ha-ndarray
  base_branch: main
  writable_scope: []
  prerequisites: ["#44", "#45"]
  concurrency_group: cubecl-numerical-rollup
  required_commands: []
  external_actions: none
  draft_pr_only: true
  completion_authority: human

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

This issue is a non-executable rollup whose implementation is split between child issues #44 and #45. Start by reading those issues and the shared runtime/elementwise prerequisites. Done means satisfying the listed reduction, linear-algebra, matmul, tolerance, portability, and benchmark acceptance criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.