Skip to content

Use variant/visit for fn_matmul

Michael Kozlov requested to merge michael/fn_matmul into main

Currently MatMulMethod struct reqires a new field for each new kai_run_matmul_* method, which is not nicely scalable.

Use std::variant and std::visit to encapsulate different possible matmul methods and provide calling of the correct method.

Signed-off-by: Michael Kozlov michael.kozlov@arm.com

Merge request reports