4 ms·
You 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/ind
by my123 4y ago
You 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...