3 ms·
Any way to remove the unneeded parts?
by amelius 4y ago
Any way to remove the unneeded parts?
- my123 4y agoYou might want to look at nvprune: https://docs.nvidia.com/cuda/cuda-binary-utilities/index.html#nvprune https://docs.nvidia.com/cuda/cuda-binary-utilities/index.htm... However: > The input file must be either a relocatable host object or static library (not a host executable), and the output file will be the same format And: > Note that this means that libcublas_static70.a will not run on any other architecture, so should only be used when you are building for a single architecture But please don't use this for binaries distributed in the wild, would result in a lot of people not being able to run your program...