jwfromm opened a new pull request, #11413: URL: https://github.com/apache/tvm/pull/11413
X86 targets don't have an FP16 erf intrinsic. This causes compilation to fail when such an op is encountered. This PR adds two cases to avoid this failure. I've added an FP16 ERF legalization pass that will just cast to FP32 for the ERF call. I've also extended fast_erf to support FP16 directly. This does lose some precision compared to doing FP32 wrapping around ERF, but since the desire is to be faster I think it's acceptable behavior. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
