feature: boilerplate FPU

boilerplate classes for stressing the FPU, will be extended in the
future, still discovering, what does what and what stresses what
This commit is contained in:
Abdellah El Morabit 2025-11-15 23:17:36 +01:00
parent 2adbea2fc2
commit 380663c7e9
3 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,28 @@
package com.nsrddyn
class CholeskyDecomposition {
/*
* Floating point operation to stress the cpu
* Calculate the number of KFLOPS / FLOPS
* implementation of the Cholesky decomposition
* More information on the Cholesky decomposition at:
* https://en.wikipedia.org/wiki/Cholesky_decomposition
*
* Linpack uses the cholesky decomposition
* https://www.netlib.org/linpack/
*
*
*/
def choleskyDecomposition(n: Int): Unit = {
for (w <- 0 to n) {
}
}
}

View File

@ -0,0 +1,6 @@
package com.nsrddyn
class FPU {
}

View File

@ -0,0 +1,5 @@
package com.nsrddyn
class Matrix {
}