Skip to content

Conversation

@wsmoses
Copy link
Member

@wsmoses wsmoses commented Feb 4, 2025

No description provided.

Copy link
Contributor

Choose a reason for hiding this comment

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

@wsmoses With this commit, it resolved the problem. Thanks for the help!

Copy link
Contributor

Choose a reason for hiding this comment

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

@wsmoses add } else if (M.getTargetTriple().find("nvptx") != std::string::npos) { to PreserveNVVM.cpp resolve the custom gradient issue for the cuda.

Copy link
Member Author

Choose a reason for hiding this comment

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

@minansys can you make a PR with?

Copy link
Contributor

@minansys minansys Feb 6, 2025

Choose a reason for hiding this comment

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

@wsmoses I tried to create a PR, however got the following error:

git push origin --set-upstream mixu/cuda-custom-gradient
remote: Permission to EnzymeAD/Enzyme.git denied to minansys.
fatal: unable to access 'https://github.com/EnzymeAD/Enzyme/': The requested URL returned error: 403

It seems I do not have the write right for the repo. I am using https and PAT instead of ssh. Is there any step to grant my write? Thanks!

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

@wsmoses @giordano I have created the PR using a fork. Thanks!

gbaraldi pushed a commit to gbaraldi/Enzyme that referenced this pull request Jun 27, 2025
* Generic memory slice

* fix
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.

4 participants