## "Fossies" - the Fresh Open Source Software Archive

### Member "stress-ng-0.09.56/example-jobs/matrix-methods.job" (15 Mar 2019, 2053 Bytes) of package /linux/privat/stress-ng-0.09.56.tar.xz:

As a special service "Fossies" has tried to format the requested text file into HTML format (style:

standard) with prefixed line numbers.
Alternatively you can here

view or

download the uninterpreted source code file.

1 #
2 # hot-cpu class stressors:
3 # various options have been commented out, one can remove the
4 # proceeding comment to enable these options if required.
5
6 #
7 # run the following tests in parallel or sequentially
8 #
9 run sequential
10 # run parallel
11
12 #
13 # verbose
14 # show all debug, warnings and normal information output.
15 #
16 verbose
17
18 #
19 # run each of the tests for 60 seconds
20 # stop stress test after N seconds. One can also specify the units
21 # of time in seconds, minutes, hours, days or years with the suf‐
22 # fix s, m, h, d or y.
23 #
24 timeout 1m
25
26 # tz
27 # collect temperatures from the available thermal zones on the
28 # machine (Linux only). Some devices may have one or more thermal
29 # zones, where as others may have none.
30 tz
31
32 #
33 # matrix stressor with examples of all the methods allowed
34 #
35 # start N workers that perform various matrix operations on float‐
36 # ing point values. By default, this will exercise all the matrix
37 # stress methods one by one. One can specify a specific matrix
38 # stress method with the --matrix-method option.
39 #
40 #
41 # Method Description
42 # all iterate over all the below matrix stress methods
43 # add add two N × N matrices
44 # copy copy one N × N matrix to another
45 # div divide an N × N matrix by a scalar
46 # hadamard Hadamard product of two N × N matrices
47 # frobenius Frobenius product of two N × N matrices
48 # mean arithmetic mean of two N × N matrices
49 # mult multiply an N × N matrix by a scalar
50 # prod product of two N × N matrices
51 # sub subtract one N × N matrix from another N × N matrix
52 # trans transpose an N × N matrix
53 #
54
55 matrix 0
56 matrix-method all
57
58 matrix 0
59 matrix-method add
60
61 matrix 0
62 matrix-method copy
63
64 matrix 0
65 matrix-method div
66
67 matrix 0
68 matrix-method frobenius
69
70 matrix 0
71 matrix-method hadamard
72
73 matrix 0
74 matrix-method mean
75
76 matrix 0
77 matrix-method mult
78
79 matrix 0
80 matrix-method prod
81
82 matrix 0
83 matrix-method sub
84
85 matrix 0
86 matrix-method trans