Initial Commit

This commit is contained in:
SoraKatadzuma committed 2026-10-27 22:11:48 -05:00
commit 64d4c6f88b
14 files changed
+1470

No files matched your search

+53
View File
@@ -0,0 +1,53 @@
name: linear
gpid: malunal
semv: 0.1.0
options:
level: 2
requires:
- https://git.malunal.studio/sakura/std@v1.0.0
targets:
- name: linear
type: library
root: ./linear
deps:
- std.math
# Times what `linear` does against the same written a number at a time; see
# its header.
- name: linear.bench
type: program
level: ${level}
deps:
- linear
- std.containers
- std.io
- std.math
- std.time
srcs:
- tools/bench.sakura
tests:
# On the machine, which works each number at a time.
- name: linear.tests
type: program
deps: [linear, std.math, std.testing]
srcs: [tests/main.sakura, tests/linear.sakura]
# The same tests built with `-O2`, which works vectors as lanes, and gives the
# same bits.
- name: linear.lanes.tests
type: program
runs: native
level: 2
deps: [linear, std.math, std.testing]
srcs: [tests/main.sakura, tests/linear.sakura]
exports:
- linear
package:
desc: Vectors, quaternions, and matrices of f32, worked as SIMD lanes where an executable holds them.
auth: John Christman <sorakatadzuma@gmail.com>