b-sumner wrote:

> > HIP does not only not need the C device runtime,
> 
> It does. The language bakes in the assumption that all of the libc and libm 
> calls exist in the ambient environment. 

In host code yes, in device code it certainly does not.  A hip programmer has 
absolutely no expectation that they can call pread() or any other of a large 
number libc of functions from device code.  Furthermore, we have no accepted 
proposal for an extension to hip to support libc functions.   This kind of 
extension requires deeper review and discussion and awareness than permitted by 
a LLVM pull request.



https://github.com/llvm/llvm-project/pull/151046
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to