abergeron commented on pull request #5723:
URL: https://github.com/apache/incubator-tvm/pull/5723#issuecomment-639695379


   I dicovered that the problem is not that the values are too close it's that 
fmod() on metal doesn't have the same behaviour.
   
   `fmod(x, y)` expands to `x – y * trunc(x/y)` instead of `x - y * floor(x/y)` 
like most other platforms.
   
   So the solution is to change the codegen for fmod in metal I think.  I'll 
try to do that.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to