Skip to content

CudaTrackJob return type for beam_elements_buffer inconsistent with other trackjobs #136

@martinschwinzerl

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!

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