ndstrides: [12] Reimplement builtins #522

Closed
lyken wants to merge 3 commits from ndstrides-12-builtins into ndstrides-11-matmul
Collaborator

Update codegen/builtin_fns.rs to use ndarray with strides.

The struct ContiguousNDArray is the legacy NDArray's definition. nalgebra utilities uses the legacy definition for its ABI. Therefore it is needed.

After this PR, nac3standalone/demo/src/ndarray.py will be runnable.

Update `codegen/builtin_fns.rs` to use ndarray with strides. The struct `ContiguousNDArray` is the legacy `NDArray`'s definition. `nalgebra` utilities uses the legacy definition for its ABI. Therefore it is needed. After this PR, `nac3standalone/demo/src/ndarray.py` will be runnable.
lyken added 3 commits 2024-08-28 14:21:24 +08:00
lyken added a new dependency 2024-08-28 14:21:29 +08:00
lyken added a new dependency 2024-08-28 14:25:24 +08:00
lyken force-pushed ndstrides-12-builtins from cd41b03dd5 to 7fb5e10ee2 2024-08-30 15:14:43 +08:00 Compare
Author
Collaborator

Rebased.

Rebased.
derppening force-pushed ndstrides-12-builtins from 7fb5e10ee2 to 4e57a82543 2024-10-18 14:41:23 +08:00 Compare
derppening force-pushed ndstrides-12-builtins from 4e57a82543 to 4ac881ccf6 2024-10-18 14:45:31 +08:00 Compare
derppening force-pushed ndstrides-12-builtins from 4ac881ccf6 to 7f3c45302d 2024-10-18 15:02:25 +08:00 Compare
Collaborator

Superseded by #568.

Superseded by #568.
derppening closed this pull request 2025-01-06 16:51:27 +08:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: M-Labs/nac3#522
No description provided.