Routine name → the WGSL source(s) its getPipeline() calls reference. Keys are the exact
shader names getPipeline(device, name) is called with — most routines have one, some pick
one of several conditionally (e.g. sgemv's sgemv_n/sgemv_t, by trans), and some have no
dedicated shader at all:
sgemmtr/ssyrk/ssyr2k all dispatch through sgemm_small/sgemm_large (uplo param),
and dgemmtr/dsyrk/dsyr2k through dgemm_small alone (dgemm_large measured slower).
strsm shares strsm_small and strsv_invert_block with strsv, plus its own
block_transfer and the shared sgemm_small/sgemm_large; dtrsm has its own
dtrsm_small, plus block_transfer and dgemm_small for the trailing update.
Every d* routine concatenates the f64/ double-double shaders it needs in front of its
own — see getPipeline's shaderName: string[] behaviour.
random has no entry — CPU-only, no getPipeline() call.
Built up entry by entry so each import sits next to the mapping entry that uses it.
Routine name → the WGSL source(s) its
getPipeline()calls reference. Keys are the exact shader namesgetPipeline(device, name)is called with — most routines have one, some pick one of several conditionally (e.g. sgemv'ssgemv_n/sgemv_t, bytrans), and some have no dedicated shader at all:sgemmtr/ssyrk/ssyr2kall dispatch throughsgemm_small/sgemm_large(uploparam), anddgemmtr/dsyrk/dsyr2kthroughdgemm_smallalone (dgemm_largemeasured slower).strsmsharesstrsm_smallandstrsv_invert_blockwith strsv, plus its ownblock_transferand the sharedsgemm_small/sgemm_large;dtrsmhas its owndtrsm_small, plusblock_transferanddgemm_smallfor the trailing update.d*routine concatenates thef64/double-double shaders it needs in front of its own — seegetPipeline'sshaderName: string[]behaviour.randomhas no entry — CPU-only, nogetPipeline()call.Built up entry by entry so each import sits next to the mapping entry that uses it.