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

Structural refactor of the compilation_pipelines module #529

Merged
merged 8 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions doc/dev/debugging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ Below is an example of how to obtain a C program that can be linked against the
def identity(x):
return x

print(identity.get_cmain(1.0))
print(debug.get_cmain(identity, 1.0))

Using the ``QJIT.get_cmain`` function, the following string is returned to the user:
Using the ``debug.get_cmain`` function, the following string is returned to the user:

.. code-block:: C

Expand Down Expand Up @@ -298,4 +298,3 @@ And finally some real LLVMIR adhering to the QIR specification:
The LLVMIR code is compiled to an object file using the LLVM static compiler and linked to the
runtime libraries. The generated shared object is stored by the caching mechanism in Catalyst
for future calls.

2 changes: 1 addition & 1 deletion frontend/catalyst/ag_primitives.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

import catalyst
from catalyst.ag_utils import AutoGraphError
from catalyst.utils.contexts import EvaluationContext
from catalyst.tracing.contexts import EvaluationContext
from catalyst.utils.jax_extras import DynamicJaxprTracer, ShapedArray
from catalyst.utils.patching import Patcher

Expand Down
Loading
Loading