Skip to content

Commit 7b0f31d

Browse files
committed
chore: add test cases
--- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: failed ---
1 parent b7d8582 commit 7b0f31d

File tree

6 files changed

+223
-139
lines changed

6 files changed

+223
-139
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"trans": "no-transpose",
3+
"M": 3,
4+
"N": 3,
5+
"KL": 1,
6+
"KU": 1,
7+
"alpha": 0.5,
8+
"beta": 0.5,
9+
"A": [ 0.0, 999.0, 3.0, 5.0, 999.0, 5.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 999.0, 3.0, 5.0, 999.0, 0.0 ],
10+
"x": [ 1.0, 2.0, 3.0 ],
11+
"y": [ 1.0, 2.0, 3.0 ],
12+
"strideA1": 5,
13+
"strideA2": 3,
14+
"offsetA": 0,
15+
"strideX": 1,
16+
"offsetX": 0,
17+
"strideY": 1,
18+
"offsetY": 0,
19+
"y_out": [ 502.0, 510.0, 1504.0 ]
20+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"order": "column-major",
3+
"trans": "no-transpose",
4+
"M": 3,
5+
"N": 3,
6+
"KL": 1,
7+
"KU": 1,
8+
"alpha": 0.5,
9+
"beta": 0.5,
10+
"lda": 3,
11+
"A": [ 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 0.0],
12+
"x": [ 1.0, 2.0, 3.0 ],
13+
"y": [ 1.0, 2.0, 3.0 ],
14+
"strideA1": 1,
15+
"strideA2": 3,
16+
"offsetA": 0,
17+
"strideX": 1,
18+
"offsetX": 0,
19+
"strideY": 1,
20+
"offsetY": 0,
21+
"y_out": [ 4.0, 15.0, 17.0 ]
22+
}

lib/node_modules/@stdlib/blas/base/sgbmv/test/fixtures/row_major_xnyn.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,20 @@
33
"trans": "no-transpose",
44
"M": 3,
55
"N": 3,
6+
"KL": 1,
7+
"KU": 1,
68
"alpha": 0.5,
79
"beta": 0.5,
810
"lda": 3,
911
"A": [ 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 0.0 ],
10-
"x": [ 1.0, 2.0, 3.0 ],
11-
"y": [ 1.0, 2.0, 3.0 ],
12+
"x": [ 2.0, 1.0 ],
13+
"y": [ 1.0, 2.0, 3.0, 4.0 ],
1214
"strideA1": 3,
1315
"strideA2": 1,
1416
"offsetA": 0,
1517
"strideX": -1,
1618
"offsetX": 1,
1719
"strideY": -1,
1820
"offsetY": 3,
19-
"y_out": [ 12.0, 9.5, 7.0, 4.5 ]
21+
"y_out": [ 2.5, 6.5, 10.5 ]
2022
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"order": "row-major",
3+
"trans": "no-transpose",
4+
"M": 3,
5+
"N": 3,
6+
"KL": 1,
7+
"KU": 1,
8+
"alpha": 0.5,
9+
"beta": 0.5,
10+
"lda": 3,
11+
"A": [ 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 0.0 ],
12+
"x": [ 1.0, 2.0, 3.0 ],
13+
"y": [ 1.0, 2.0, 3.0 ],
14+
"strideA1": 3,
15+
"strideA2": 1,
16+
"offsetA": 0,
17+
"strideX": 1,
18+
"offsetX": 0,
19+
"strideY": 1,
20+
"offsetY": 0,
21+
"y_out": [ 3.0, 14.0, 18.0 ]
22+
}

0 commit comments

Comments
 (0)