Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need vector math functions with non-AOCC compilers and need more functions #8

Open
ye-luo opened this issue Aug 13, 2021 · 1 comment

Comments

@ye-luo
Copy link

ye-luo commented Aug 13, 2021

Found the following message in amdlibm_vec.h

/*
 * We don’t expect anyone to include this file directly.
* but rely on AOCC to generate appropriate calls to vector functions
*/

#ifndef AMD_LIBM_VEC_EXPERIMENTAL
#error "The functionality in this header is experimental, please define AMD_LIBM_VEC_EXPERIMENTAL"
#endif /* EXPERIMENTAL */

But users may use these vector math functions with upstream Clang or GCC.
How risky is it to use with non-AOCC compilers. What is the major risk? Memroy alignment requirements?

Historically, AMD LibM does provide even more funcitons like
vrsa_sincosf and vrda_sincos
Please consider to add them.

@pmallapp-amd
Copy link
Collaborator

Hi Ye-Luo,
Thanks for the suggestions, we had to remove them as they were not required by many,
One can create wrapper arround the vrs4/vrs8/vrs16 to achieve the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants