google / google/XNNPACK

f32-spmm missing tests

Open
#7,062 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
2.5k
Forks
560
Avg merge
1d 6h
Merged PRs (30d)
163

Description

Currently the way tests are generated and linked causes an issue where in the final binary 'f32-spmm-minmax-test' only the tests present in 'f32-spmm-minmax.cc' get included. I'm building for a RISC-V target but I don't believe target platform affects final output for the test binary.
![image](https://github.com/user-attachments/assets/c2fb83cc-495d-4196-be00-ff9fad4454bc)
I've managed to hack my way around this by generating the source code for the code in one file 'f32-spmm-minmax.cc' but this should get fixed properly. Also consider re-evaluating other tests that are split into multiple files.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.