Initial Commit
This commit is contained in:
14 files changed
+1467
No files matched your search
+53
@@ -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>
|
||||
Reference in new issue
Block a user