cutlass icon indicating copy to clipboard operation
cutlass copied to clipboard

Make unittest compilation faster

Open andralex opened this issue 6 months ago • 2 comments

FILE_TO_C_STRING creates gigantic files consisting mainly of sequences char(0xNN). Just including such a file takes a long time (e.g. 27 seconds for build/test/unit/nvrts/nvrtc/cute/arch/mma_sm90_gmma_sparse_ext.hpp).

This PR generates files as raw delimited C++ strings. This reduces the cost of compilation by roughly 10x. There are over 500 such files.

andralex avatar Jun 14 '25 04:06 andralex

This PR has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this PR if it is no longer required. Otherwise, please respond with a comment indicating any updates. This PR will be labeled inactive-90d if there is no activity in the next 60 days.

github-actions[bot] avatar Aug 08 '25 20:08 github-actions[bot]

Thanks for your patience. We had to use a slightly different implementation to get it to work on Windows (hit string length issues). The fix should be in the next release, will leave this open until then.

d-k-b avatar Oct 29 '25 15:10 d-k-b