MagmaDNN / magmadnn

MagmaDNN: a simple deep learning framework in c++
MIT License
45 stars 7 forks source link

Examples to calculate eigen values and eigen vectors #42

Closed weihuang-jedi closed 7 months ago

weihuang-jedi commented 7 months ago

Hello there,

I am a software engineer at NOAA/PSL, and CU/CIRES, which we want to replace "EIGEN" (https://eigen.tuxfamily.org/) in our program JEDI (like function: https://github.com/JCSDA/oops/blob/master/src/oops/assimilation/LETKFSolver.h) with MAGMA's eigen value and eigen vectors, as we want eventually adding GPU capabilities.

I tried to find examples on MAGMA web-site, and see there are some examples, but there is nothing directly related to eigen value, and eigen vector's. After installing MAGMA, I tried look at the example directory, and see example like: https://bitbucket.org/icl/magmadnn/src/master/examples/tensor_math.cpp, which compiled and run fine, but that is too simple.

Could you please an example of calculating eigen value and eigenvectors?

Thanks,

Wei Huang

weihuang-jedi commented 7 months ago

I should install MAGMA, not MAGMADNN.