Move ScalingMatrix to common GPU update code.
authorAndrey Alekseenko <al42and@gmail.com>
Fri, 9 Apr 2021 10:54:46 +0000 (13:54 +0300)
committerMark Abraham <mark.j.abraham@gmail.com>
Sun, 11 Apr 2021 05:42:58 +0000 (05:42 +0000)
commit74e16bb6a77d932e824f112fb56dca795a2a1ce2
treef64ffddbdd1c473bcbebdb1d8384991ce8bd0efd
parente8ed65878a74d7f63a369520d35322ff94599173
Move ScalingMatrix to common GPU update code.

Also, add a constructor to initialize it from an old-style matrix.

Currently, this struct is used only in CUDA, but would be used in SYCL
soon.

Refs #3932.
src/gromacs/mdlib/update_constrain_gpu_impl.cu
src/gromacs/mdlib/update_constrain_gpu_impl.h