-
Notifications
You must be signed in to change notification settings - Fork 981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use coverage.cmake file #1826
Comments
@vineel96 I'm not sure if I understand your question correctly. Are you trying to exclude some source files from coverage output, like the option |
@shu1chen, Yes similar to gcov tool. I wanted to remove any unused codes when we run a primitive. Example if I run oneDNN's matmul code, it should identify out of all oneDNN's matmul code which functions or code files are not used for any kind of input. So coverage.cmake file is used for this purpose ? |
@vineel96 No, I think it's not for the purpose you mentioned. As seen in the source code, coverage.cmake gets gcov tool involved, which helps to report the test code coverage. |
oneDNN has build options to disable unused functionality:
|
No updates for a week and no open questions in this thread. Closing this issue as completed |
How to use coverage.cmake file (https://github.com/oneapi-src/oneDNN/blob/main/cmake/coverage.cmake) to remove any unused steps in onednn code?
The text was updated successfully, but these errors were encountered: