Thermodynamics.jl icon indicating copy to clipboard operation
Thermodynamics.jl copied to clipboard

Logging variable values outside of valid ranges in GPU kernels

Open charleskawczynski opened this issue 1 year ago • 0 comments

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 use KernelAbstractions to print (here). However, this is will bloat the log and is not really helpful.

Over-arching issue here Related issue / PR

  • https://github.com/CliMA/Thermodynamics.jl/issues/162
  • https://github.com/CliMA/Thermodynamics.jl/pull/158

charleskawczynski avatar Sep 21 '23 20:09 charleskawczynski