NCAR / micm

A model-independent chemistry module for atmosphere models
https://ncar.github.io/micm/
Apache License 2.0
5 stars 5 forks source link

Use Cublas API for AlphaMinusJacobian CUDA function #432

Closed sjsprecious closed 3 months ago

sjsprecious commented 5 months ago

According to @mwaxmonsky's suggestion, it may be worth the efforts to try Cublas API for the AlphaMinusJacobian CUDA function (https://github.com/NCAR/micm/blob/main/include/micm/solver/cuda_rosenbrock.hpp#L67C30-L67C48) and see if it brings additional computational benefits compared to the CUDA implementation.

This should be done after we resolve the data transfer issues from https://github.com/NCAR/micm/issues/431.

sjsprecious commented 3 months ago

It is not straightforward to implement an efficient version so drop it as not planned.