================ @@ -43,40 +40,17 @@ __device__ __attribute__((pure)) float __ocml_erfcinv_f32(float); __device__ __attribute__((pure)) float __ocml_erfcx_f32(float); ---------------- arsenm wrote:
The CLR HIP headers also redeclare all of these functions. Until some time last year, the declarations in CLR were conditional and sometimes coming from the clang builtin headers ,which created an ugly circular dependency. Downstream projects really should not be directly using any of these functions. If they are, they should be responsible for including headers themselves. In practice they are relying on the CLR declarations https://github.com/llvm/llvm-project/pull/204735 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
