Repository navigation
Compress C-style plain text GPU kernels. #9570
mcourteaux
started this conversation in
Ideas
Replies: 1 comment 4 replies
|
@abadams and I were talking about building LLVM with
I'd like to avoid vendoring any more dependencies.
I'd prefer to just always compress. |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Analyzing my binary sizes, the Metal and OpenCL variants contribute a lot of size, because they are quite bloated with their plain-text kernel code payloads. In SilverNode, the Metal and OpenCL variants are about twice the size of the CPU ones and the CUDA ones.
I was thinking of simply slapping inflate and deflate on them:
Which are header-only 500LoC files with MIT license we can plop into the codebase and use as a compression tool for these kernel payloads. This could be a target feature-flag (deflate_kernels).
Opinions? @abadams @alexreinking
All reactions