SpRegTiling / sparse-register-tiling

8 stars 2 forks source link

Executor factory not found #7

Open reikdas opened 1 month ago

reikdas commented 1 month ago

I tried performing SpMM over the following matrix market files: https://sparse.tamu.edu/HB/662_bus https://sparse.tamu.edu/HB/bcspwr06 https://sparse.tamu.edu/TAMU_SmartGridCenter/ACTIVSg2000

The command I used to execute SpMM was - python3 run_matrix.py -m 662_bus.mtx -t 1 -b 512 -o temp.csv

But I got an error that looks like:

Error: Executor factory not found: c22a5_AVX512_512_4x4 for kernel desc: sop::KernelDesc<float, sop::CSRStorageTypes<float*, int>, sop::PackingDesc<(sop::PackingStrategy)2, (sop::PackingStrategy)2>, (sop::UPanelReorderingStrategy)1>
   /home/reikdas/spreg2/spmm_nano_kernels/include/MatMulSpecialized.h:166

Would anyone be able to point me to what might be happening here?

LucasWilkinson commented 2 weeks ago

Hi @reikdas sincerest apologies about the delay, can you please provide the full output of the script? Unfortunately im not able to reproduce this on my end I get:

python3 run_matrix.py -m 662_bus/662_bus.mtx -t 1 -b 512 -o temp.csv
/home/lwilkinson/code/sparse-register-tiling/tools/../release-build/cpp_testbed/demo/SPMM_demo -e /tmp/sp_reg_tiling_dlmc_test/AVX512/yamls/no_filelist_AVX512_5e125.yaml -m /home/lwilkinson/code/sparse-register-tiling/662_bus/662_bus.mtx -d /datasets/ -s float -o temp.csv -z -b 512
Detected cache sizes 2048kb 122880kb
/home/lwilkinson/code/sparse-register-tiling/662_bus/662_bus.mtx (662x662) 99%, nnz 2474
Begin Testing, nThreads: 1 BCols: 512
.....
1. 83.4397 M4N4_KNM_LB_orig beta_10x:10|k_tile:662|m_tile:664|max_tlb_entries:64|n_tile:512|sparse_a:0|tiling_strategy:1|tlb_page_size:4096 
Dense: 0
/home/lwilkinson/code/sparse-register-tiling/tools/../release-build/cpp_testbed/demo/SPMM_demo -e /tmp/sp_reg_tiling_dlmc_test/AVX512/yamls/no-filelist_AVX512_d606d.yaml -m /home/lwilkinson/code/sparse-register-tiling/662_bus/662_bus.mtx -d /datasets/ -s float -o temp.csv -b 512 -a
Detected cache sizes 2048kb 122880kb
No method_id mkl registered
======== Results ========
Sp. Reg.  : 83.44 us  correct

in the output you should see the filename for a yaml file created in the tmp directory (e.g. above I get /tmp/sp_reg_tiling_dlmc_test/AVX512/yamls/no_filelist_AVX512_5e125.yaml), could you please share the contents of this file too please?