mirror of
https://github.com/amd/blis.git
synced 2026-05-05 06:51:11 +00:00
Details: - Updated level-1/-1f kernels so that non-unit and un-aligned cases are handled by reference implementation (rather than aborted). - Added -fomit-frame-pointer to default make_defs.mk for clarksville configuration. - Defined bli_offset_from_alignment() macro. - Minor edits to old test drivers.
34 lines
623 B
Bash
Executable File
34 lines
623 B
Bash
Executable File
#!/bin/bash
|
|
|
|
exec_root="test"
|
|
out_root="output"
|
|
#out_root="output_square"
|
|
|
|
# Operations to test.
|
|
l2_ops="gemv ger hemv her her2 trmv trsv"
|
|
l3_ops="gemm hemm herk her2k trmm trsm"
|
|
test_ops="${l2_ops} ${l3_ops}"
|
|
|
|
# Implementations to test
|
|
test_impls="openblas atlas mkl blis"
|
|
|
|
for im in ${test_impls}; do
|
|
|
|
for op in ${test_ops}; do
|
|
|
|
# Construct the name of the test executable.
|
|
exec_name="${exec_root}_${op}_${im}.x"
|
|
|
|
# Construct the name of the output file.
|
|
out_file="${out_root}_${op}_${im}.m"
|
|
|
|
echo "Running ${exec_name} > ${out_file}"
|
|
|
|
# Run executable.
|
|
./${exec_name} > ${out_file}
|
|
|
|
sleep 1
|
|
|
|
done
|
|
done
|