Open stiber opened 5 days ago
Actually, this needs to copy to the GPU and work in a GPU-side switch
statement. It may or may not work this way, depending on whether we can rely on the "data footprint" on the GPU matching up well with the CPU implementation of this language feature.
An example of this currently implemented with C
enum
is:https://github.com/UWB-Biocomputing/Graphitti/blob/b507ae9a4ccc6377c36fde9413af726366734b07/Simulator/Edges/Neuro/AllNeuroEdges.h#L42-L48
See https://en.cppreference.com/w/cpp/language/enum for more information about this language feature.