shamrock.algs.autoselect_impl#

shamrock.algs.autoselect_impl(alg: str) → None#

Select the default implementation of the algorithm alg for the compute device.

Requires the devices to be initialized (shamrock.sys.init(...) in library mode), and raises an exception otherwise, or if no algorithm is registered under alg.