-
Notifications
You must be signed in to change notification settings - Fork 8
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
no_std support #189
Comments
I think it should just work, Enzyme works on another level and won't include any std functionality if you don't use it. |
I think it'll be an issue if allocation is needed. We should eventually expose a pre-allocated tape as can be done using C-Enzyme. |
https://doc.rust-lang.org/alloc/ |
Unless you registered a custom allocator, Enzyme will use malloc and free for things |
Yes, but luckily Rust stopped shipping it's own allocator a long time ago, so they should match behaviour. |
I can have a look at this, no promise though. |
Unfortunately there is no developer guide for Enzyme core, and I don't have the knowledge to write one. |
I know it might be too early.
What is current status for no_std support?
It will potentially be more important for cpu-based workloads.
The text was updated successfully, but these errors were encountered: