mirror of
https://github.com/nasrlol/torque.git
synced 2025-11-27 23:09:21 +01:00
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:
parent
2adbea2fc2
commit
380663c7e9
@ -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) {
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
6
src/main/scala/com/nsrddyn/cpu/FPU/FPU.scala
Normal file
6
src/main/scala/com/nsrddyn/cpu/FPU/FPU.scala
Normal file
@ -0,0 +1,6 @@
|
||||
package com.nsrddyn
|
||||
|
||||
|
||||
class FPU {
|
||||
|
||||
}
|
||||
5
src/main/scala/com/nsrddyn/cpu/FPU/Matrix.scala
Normal file
5
src/main/scala/com/nsrddyn/cpu/FPU/Matrix.scala
Normal file
@ -0,0 +1,5 @@
|
||||
package com.nsrddyn
|
||||
|
||||
class Matrix {
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user