Skip to content
Commit b2674c1b authored by Michael Kozlov's avatar Michael Kozlov
Browse files

Use variant/visit for fn_matmul



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's avatarMichael Kozlov <michael.kozlov@arm.com>
parent 9f746bd5
Loading
Loading
Loading
Pipeline #12339 passed with stages
in 5 minutes and 7 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment