AccelerateHS / AccelerateHS/accelerate-backend-kit

Count ETupProject projlen differently / replace with simpler tuple indexing

Open
#22 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
16
Forks
2
PR merge metrics
No merged PRs in 30d

Description

We are using surface tuples throughout accelerate-backend kit, including decoding the `EltRepr` to recover the surface structure (which doesn't help us with shapes, alas).

However, there's an inconsistency here, because we count `projlen` in `ETupProject` in terms of scalar _leaves_. If we are sticking with surface, N-array tuples, then this should be replaced with a basic "project field N of M" operator, and this should be able to happen from when we first build `SimpleAcc`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.