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

Made compatible with no_std and no atomic ptr #52

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

BjornTheProgrammer
Copy link
Contributor

This is in preparation for Burn's pull request #2096.

Some tests should be added to ensure that this doesn't end up breaking in the future, I can do so, but I'm unfamiliar with the testing story here. It would just need to be built with the thumbv6m-none-eabi target

@antimora
Copy link
Collaborator

antimora commented Aug 8, 2024

@BjornTheProgrammer FYI, it's sufficient to fix make this work with crates in this test: https://github.com/tracel-ai/burn/tree/main/crates/burn-no-std-tests

cubecl doesn't need to be no-std compatible.

@BjornTheProgrammer
Copy link
Contributor Author

You're totally right, for whatever reason, during my testing on my local machine it broke without my version. I think I've found the issue though. Sorry for the inconvenience

@antimora
Copy link
Collaborator

@nathanielsimard can you please look into this? For some reason burn-common has dependency on cube.

Copy link
Member

@nathanielsimard nathanielsimard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cubecl-common should actually be no-std when std isn't enabled. The current fix seems fine to me.

@BjornTheProgrammer
Copy link
Contributor Author

cubecl-common should actually be no-std when std isn't enabled. The current fix seems fine to me.

Is it fine for this to be merged then?

@nathanielsimard nathanielsimard merged commit aa29a35 into tracel-ai:main Aug 13, 2024
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.

3 participants