You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need a way to log (exactly once) variable values found outside of their valid ranges, and this needs to be GPU compatible. Right now, we don't print anything, although we could print using KernelAbstractions (here). However, this is will bloat the log and is not really helpful.
to be able to preserve information on when the model is trying to call parameterizations outside of their allowed range. We can't throw warnings on GPUs. Plus, polluting the screen with massive numbers of warnings is not useful in a big simulation anyway.
Maybe instead we could create some sort of a log file with information on:
what function was attempted to be called outside of the allowed range
how many times
with verbose option to also save the inputs?
The only thing is that CM.jl is just a library of functions. So such a thing might need to be implemented on the side of the model that is using it? Or would we still need to provide a logger inside CM.jl?
The list of functions we would need it for (we might need to add one or two more):
We need a way to log (exactly once) variable values found outside of their valid ranges, and this needs to be GPU compatible. Right now, we don't print anything, although we could print using KernelAbstractions (here). However, this is will bloat the log and is not really helpful.
Over-arching issue here
The text was updated successfully, but these errors were encountered: