Previously, the standalone performance drivers in test/3 were written under the assumption that the user would want to explicitly test either native execution or 1m. But because the accompanying runme.sh script defaults to passing "native" in for the -i command line option (which explicitly sets the induced method type), using it without modification causes the test drivers to use reference microkernels on systems where native complex-domain microkernels are not registered. Furthermore, even if a user was aware of this, the test drivers did not support any single value for the -i option that would test BLIS using the library's default behavior -- that is, using 1m on systems where it is needed and native execution on systems that have native microkernels.
This commit addresses the aforementioned issue by supporting a new value for the -i option: "auto". The "auto" value causes the driver to avoid explicitly setting the induced method altogether, leaving BLIS's default behavior in place. This "auto" option is now the default setting within the runme.sh script. Thanks to Leick Robinson for finding and reporting this issue.
Also added support for "nat" as a shorthand for "native", which the help text already (erroneously) claimed was supported.
Details:
test/3
were written under the assumption that the user would want to explicitly test either native execution or 1m. But because the accompanyingrunme.sh
script defaults to passing "native" in for the-i
command line option (which explicitly sets the induced method type), using it without modification causes the test drivers to use reference microkernels on systems where native complex-domain microkernels are not registered. Furthermore, even if a user was aware of this, the test drivers did not support any single value for the-i
option that would test BLIS using the library's default behavior -- that is, using 1m on systems where it is needed and native execution on systems that have native microkernels.-i
option:"auto"
. The"auto"
value causes the driver to avoid explicitly setting the induced method altogether, leaving BLIS's default behavior in place. This"auto"
option is now the default setting within therunme.sh
script. Thanks to Leick Robinson for finding and reporting this issue."nat"
as a shorthand for"native"
, which the help text already (erroneously) claimed was supported.