[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MIOpen symbols file and libstdc++-dev



Hi Étienne,

On 2024-06-30 15:23, Étienne Mollier wrote:
Passing by, I happen to have an idea.  Would it be possible to
attempt a construction of libraries with Link Time Optimization?
I believe this should trim down a bit the inflation of symbols,
but I'm not confident on the effects on MIOpen test suite.  That
would be enabled using in debian/rules for instance:

	export DEB_BUILD_MAINT_OPTIONS = optimize=+lto

Unfortunately, I don't think so. Ubuntu enables LTO by default and we've had to disable it explicitly in ROCm libraries because it doesn't seem to work for HIP language programs.

With that said, I don't know precisely why or how LTO is incompatible with HIP, so I cannot say with certainty that MIOpen would be affected.

Sincerely,
Cory Bloor


Reply to: