mirror of
https://github.com/nasrlol/torque.git
synced 2025-11-27 23:09:21 +01:00
Compare commits
No commits in common. "6114a98d542f38df7b16fe78ac115c42e34ec78c" and "3b216640948e38d3d8a475ffd653a5d71d8ac9a1" have entirely different histories.
6114a98d54
...
3b21664094
10
.gitignore
vendored
10
.gitignore
vendored
@ -1,13 +1,21 @@
|
||||
# Scala + sbt build artifacts
|
||||
target/
|
||||
project/target/
|
||||
project/project/
|
||||
.bloop/
|
||||
|
||||
# Metals + BSP cache
|
||||
.metals/
|
||||
.bsp/
|
||||
|
||||
# Java / JVM artifacts
|
||||
*.class
|
||||
*.log
|
||||
hs_err_pid*
|
||||
|
||||
# IntelliJ
|
||||
.idea/
|
||||
*.iml
|
||||
|
||||
# VSCode
|
||||
.vscode/
|
||||
|
||||
|
||||
@ -3,4 +3,3 @@ version := "1.0"
|
||||
name := "torque"
|
||||
organization := "com.nsrddyn"
|
||||
|
||||
libraryDependencies += "dev.zio" %% "zio" % "2.1.22"
|
||||
|
||||
@ -1,10 +0,0 @@
|
||||
package com.nsrddyn
|
||||
|
||||
|
||||
object Torque {
|
||||
|
||||
def main(args: Array[String]): Unit = {
|
||||
println("--- TORQUE STRESS TESTING UTILITY ---")
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,6 +0,0 @@
|
||||
package com.nsrddyn
|
||||
|
||||
class ALU {
|
||||
|
||||
|
||||
}
|
||||
@ -1,13 +0,0 @@
|
||||
package com.nsrddyn
|
||||
|
||||
import scala.util.hashing
|
||||
|
||||
class Hash {
|
||||
|
||||
def hashString(): Unit = {
|
||||
|
||||
println("Hello from hash function")
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@ -1,5 +0,0 @@
|
||||
package com.nsrddyn
|
||||
|
||||
class Prime {
|
||||
|
||||
}
|
||||
@ -1,12 +0,0 @@
|
||||
package com.nsrddyn
|
||||
|
||||
/*
|
||||
* cpu object, only one instance of an object needed
|
||||
*/
|
||||
|
||||
object Cpu {
|
||||
|
||||
val name = ""
|
||||
|
||||
|
||||
}
|
||||
@ -1,28 +0,0 @@
|
||||
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) {
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -1,6 +0,0 @@
|
||||
package com.nsrddyn
|
||||
|
||||
|
||||
class FPU {
|
||||
|
||||
}
|
||||
@ -1,5 +0,0 @@
|
||||
package com.nsrddyn
|
||||
|
||||
class Matrix {
|
||||
|
||||
}
|
||||
5
src/main/scala/com/nsrddyn/torque/Main.scala
Normal file
5
src/main/scala/com/nsrddyn/torque/Main.scala
Normal file
@ -0,0 +1,5 @@
|
||||
package com.nsrddyn
|
||||
|
||||
def main(args: Array[String]) : Unit = {
|
||||
println("Hello World!")
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user