Skip to content

Convert all pyccelized kernels to functions #134

Closed

Description

@max-models

If possible, I think we should avoid updating input arrays in place in the pyccelized kernels. This would make the cupy/numpy interoperability more streamlined since we just need to convert to returned values back to cupy arrays, and we don't have to rely on possibly changed arrays in the arguments (which need to be converted from cupy to numpy before they are passed to a pyccelized kernel).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CUDACUDA kernels and the CUDA porting (see #650)GPURunning Struphy on GPUs

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions