Skip to content

Commit

Permalink
deploy: 9478e12
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Oct 25, 2023
1 parent a92f1f6 commit 557d92f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions getting_started/Faq/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
for opt:</p><div class=highlight><pre class=chroma><code class=language-sh data-lang=sh>opt input.ll -load<span class=o>=</span>/path/to/LLVMEnzyme-VERSION.so -passes<span class=o>=</span>enzyme -o output.ll -S
</code></pre></div><p>If you are using CMake, Enzyme exports a special <code>ClangEnzymeFlags</code> target which will automatically add the correct flags. See
<a href=https://github.com/EnzymeAD/Enzyme/blob/main/enzyme/test/test_find_package/CMakeLists.txt#L14>here</a>
for an example.</p><h3 id=unreachable-executed-gvn-error>UNREACHABLE executed (GVN error)&nbsp;<a class=headline-hash href=#unreachable-executed-gvn-error></a></h3><p>Until June 2020, LLVM&rsquo;s exisitng GVN pass had a bug handling invariant.load&rsquo;s that would cause it to crash. These tend to be generated a lot by Enzyme for better optimization. This was reported
<a href="https://bugs.llvm.org/show_bug.cgi?id=46054">here</a>
and resolved in master. Options for resolving include updating to later verison of LLVM with the fix, or disabling creation of invariant.load&rsquo;s.</p><h2 id=other>Other&nbsp;<a class=headline-hash href=#other></a></h2><p>If you have an issue not resolved here, please make an issue on
for an example.</p><h2 id=other>Other&nbsp;<a class=headline-hash href=#other></a></h2><p>If you have an issue not resolved here, please make an issue on
<a href=https://github.com/EnzymeAD/Enzyme>Github</a>
and consider making a pull request to this FAQ!</p><div class=edit-meta><br></div><nav class=pagination><a class="nav nav-prev" href=/getting_started/CUDAGuide/ title="CUDA Guide"><i class="fas fa-arrow-left" aria-hidden=true></i>Prev - CUDA Guide</a>
<a class="nav nav-next" href=/talks/ title="Talks, Publications, and EnzymeCon">Next - Talks, Publications, and EnzymeCon <i class="fas fa-arrow-right" aria-hidden=true></i></a></nav><footer><p class=powered>Powered by <a href=https://gohugo.io>Hugo</a>. Theme by <a href=https://themes.gohugo.io/hugo-theme-techdoc/>TechDoc</a>. Designed by <a href=https://github.com/thingsym/hugo-theme-techdoc>Thingsym</a>.</p></footer></main><div class=sidebar><nav class=slide-menu><ul><li><a href=https://enzyme.mit.edu/>Home</a></li><li><a href=/Installation/>Installation</a></li><li class="parent has-sub-menu"><a href=/getting_started/>Getting Started<span class="mark opened">-</span></a><ul class=sub-menu><li><a href=/getting_started/UsingEnzyme/>Using Enzyme</a></li><li><a href=/getting_started/CallingConvention/>Calling Convention</a></li><li><a href=/getting_started/Examples/>C++ Examples</a></li><li><a href=/getting_started/CUDAGuide/>CUDA Guide</a></li><li class=active><a href=/getting_started/Faq/>FAQ</a></li></ul></li><li class=has-sub-menu><a href=/talks/>Talks, Publications, and EnzymeCon<span class="mark closed">+</span></a><ul class=sub-menu><li><a href=/talks/Talks/>Presentations</a></li><li><a href=/talks/Publications/>Related Publications</a></li><li><a href=/talks/EnzymeCon/>Enzyme Conference 2023</a></li></ul></li><li><a href=/getting_involved/>Getting Involved</a></li></ul></nav><div class=sidebar-footer></div></div></div><a href=# id=backtothetop-fixed class=backtothetop data-backtothetop-duration=600 data-backtothetop-easing=easeOutQuart data-backtothetop-fixed-fadein=1000 data-backtothetop-fixed-fadeout=1000 data-backtothetop-fixed-bottom=10 data-backtothetop-fixed-right=20><span class="fa-layers fa-fw"><i class="fas fa-circle"></i><i class="fas fa-arrow-circle-up"></i></span></a></div></body></html>

0 comments on commit 557d92f

Please sign in to comment.