https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122280
--- Comment #4 from Benjamin Schulz <schulz.benjamin at googlemail dot com> --- As for the code, setting Math_Functions_Policy p1(Math_Functions_Policy::AUTO); would mean that the code uses a heuristic to decide whether to offload... For cpu, it would use CPU_ONLY... As for my comment, the code ran without any errors, I meant, when compiled with clang. On gcc, I got errors, and wrong results, and I dont know why...
