Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove SQRT hack in llvm #680

Closed
wants to merge 1 commit into from
Closed

remove SQRT hack in llvm #680

wants to merge 1 commit into from

Conversation

chenyuxyz
Copy link
Owner

replaced with xpow 0.5 in transcendental. fixed sqrt(0) backward

Copy link

Changes

Name                            Lines    Diff    Tokens/Line    Diff
----------------------------  -------  ------  -------------  ------
tinygrad/codegen/rewriter.py      386      +1           23.0    +0.1
tinygrad/renderer/llvmir.py       148      -3           12.6    +0.0


total lines changes: -2

@chenyuxyz chenyuxyz force-pushed the llvm-sqrt branch 2 times, most recently from 6f8cfdd to bc2ed55 Compare February 13, 2025 20:06
replaced with xpow 0.5 in transcendental. fixed sqrt(0) backward
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant