Skip to content

CudaTrackJob return type for beam_elements_buffer inconsistent with other trackjobs #136

Description

@martinschwinzerl

If the cuda-trackjob is initialized using a sixtracklib.Elements instance rather than a Cbuffer, it will return the Elements instance. This breaks scripts written for other trackjobs which always expect the CBuffer instance.

Thanks to @hannes-bartosik for reporting this!

Activity

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

Metadata

Metadata

Labels

APIbugcudaProblems related to the CUDA architecture backend and/or technologies like pycuda, numba or cupypython

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions