amd/aocl-libm-ose

Issue: Overwriting of cmath library with AMD math library.

Opened this issue · 0 comments

We are working on a project, where we would like to integrate and have function calls to both cmath and amd_math library. Currently in Ubuntu, with use of both cmath and amd_math libraries, tried linking in both static and dynamic ways, observing that cmath functions are getting replaced with amd_math and with namespace as well seeing that operations are getting called from libalm.so file.

Tried with 1. namespace, 2. by removing and disabling "REPLACE_WITH_AMDLIBM" flag, and also with flag 3. "-libabi=glibc while build, Didnt observe any solution.
Is there any approach to overcome this situation and get work done?