Skip to content

Ph4 gpu capable in handling test particles #1207

@ErwanH29

Description

@ErwanH29

Is your feature request related to a problem? Please describe.
It would be nice if the gpu version of Ph4 can handle test particles.

Describe the solution you’d like
Support for test particles in the GPU version of Ph4, such that massless particles are excluded from the source (j) interaction loop while still allowing them to receive accelerations as targets (i).

Describe alternatives you've considered
I've tried adding a mass condition within the dev_evaluate_gravity.cu file akin to that in the CPU version of Ph4, but no speed-up is found. As a result, I think most of the heavy work goes into synchronisation of states or building the arrays. I could look into it, but given my lack of knowledge revolving gpu codes, I would be very happy if someone with more experience could tackle it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: community_codeIssue concerns a community code and/or its AMUSE bindingskind: feature requestThe issue requests a feature that AMUSE does not currently have

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions