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

cartesian sampling operator can't be created for trajectory already on gpu #502

Open
fzimmermann89 opened this issue Nov 7, 2024 · 1 comment
Assignees

Comments

@fzimmermann89
Copy link
Member

This could also be an issue for other operators.
It should be possible to create them even after moving data to cuda.
Currently, you would have to move to CPU, create, move to GPU again..

@fzimmermann89 fzimmermann89 changed the title cartesian sampling cant be created for trajektory on gpu cartesian sampling operator can't be created for trajektory on gpu Nov 7, 2024
@fzimmermann89 fzimmermann89 changed the title cartesian sampling operator can't be created for trajektory on gpu cartesian sampling operator can't be created for trajectory already on gpu Nov 7, 2024
@Stef-Martin
Copy link
Collaborator

Stef-Martin commented Nov 13, 2024

Could be solved with kx_idx = repeat(torch.arange(...., device=ktraj_tensor.device).... and also in ky and kz_idx in CartesianSamplingOp

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

No branches or pull requests

3 participants