This PR suggests implementing a common evd_func(Eigen Vectors Divide) function instead of syevd and heevd to reduce code duplication
Additionally add CheckWritable check and implement queue passing by reference
[X] Have you provided a meaningful PR description?
[X] Have you added a test, reproducer or referred to issue with a reproducer?
[X] Have you tested your changes locally for CPU and GPU devices?
[X] Have you made sure that new changes do not introduce compiler warnings?
[ ] Have you checked performance impact of proposed changes?
[ ] If this PR is a work in progress, are you filing the PR as a draft?
This PR suggests implementing a common
evd_func
(Eigen Vectors Divide) function instead ofsyevd
andheevd
to reduce code duplication Additionally addCheckWritable
check and implement queue passing by reference