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

Reverse with multiple dimensions #1899

Merged
merged 14 commits into from
May 10, 2023
Merged

Reverse with multiple dimensions #1899

merged 14 commits into from
May 10, 2023

Conversation

RainerHeintzmann
Copy link
Contributor

This code allows reverse to be used also in the new signature dims=(1,3) or dims=: as common starting with Julia 1.6.

If the tests run through I do get a Windows Blue Screen in my system, but this issue also existed in the version this fork was generated from.

Copy link
Member

@maleadt maleadt left a comment

Choose a reason for hiding this comment

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

Thanks! Some minor changes.

@RainerHeintzmann
Copy link
Contributor Author

.... a test is failing. I am checking this.

@RainerHeintzmann
Copy link
Contributor Author

should be OK now. Test was running fine.

Comment on lines 366 to 370
function kernel2(T, i)
function kernel(T, i)
sink(unsafe_trunc(T,i))
return
end
@cuda kernel2(Int, 1.)
@cuda kernel(Int, 1.)
Copy link
Member

@maleadt maleadt May 9, 2023

Choose a reason for hiding this comment

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

Unintended changes?

@maleadt
Copy link
Member

maleadt commented May 9, 2023

Pushed some small fixes, but this should be good to go, thanks! Let's wait for CI and merge this.

FWIW, I had some trouble rebasing this. It's better not to merge branches on a PR, especially external master branches, but always rebase on top of the destination branch.

@RainerHeintzmann
Copy link
Contributor Author

I guess this was caused by me clicking on "Synchronize" in Github, which pulled the current version from your master branch and merged it with my version? Not really sure how to do a rebase though...
For starting to work on the FFT problem, should I do a new fork or split my fork into a new branch?

@maleadt
Copy link
Member

maleadt commented May 10, 2023

For starting to work on the FFT problem, should I do a new fork or split my fork into a new branch?

It's recommended to use feature branches on your fork, otherwise multiple PRs get tricky.

I guess this was caused by me clicking on "Synchronize" in Github, which pulled the current version from your master branch and merged it with my version? Not really sure how to do a rebase though...

Yeah, I'm not sure what happened either 🙂 Normally the Update button does have a Rebase option in the dropdown, but I generally do those operations locally using git (git fetch origin && git rebase origin/master).

@maleadt maleadt merged commit 63bdd7f into JuliaGPU:master May 10, 2023
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.

2 participants