Skip to content

Commit 1d0134e

Browse files
committed
initial commit
1 parent 9d8f4ea commit 1d0134e

10 files changed

Lines changed: 942 additions & 0 deletions

File tree

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,9 @@
2222
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
2323
hs_err_pid*
2424
replay_pid*
25+
26+
# custom
27+
.gradle
28+
.idea
29+
build
30+

build.gradle

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
plugins {
2+
id 'java'
3+
}
4+
5+
group 'com.github.TannerLow'
6+
version '1.0'
7+
description 'Matrix Library with GPU compatibility.'
8+
9+
repositories {
10+
mavenCentral()
11+
maven { url "https://jitpack.io" }
12+
}
13+
14+
java {
15+
sourceCompatibility = JavaVersion.VERSION_16
16+
targetCompatibility = JavaVersion.VERSION_16
17+
}
18+
19+
20+
dependencies {
21+
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.1'
22+
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
23+
24+
// https://mvnrepository.com/artifact/org.jocl/jocl
25+
implementation group: 'org.jocl', name: 'jocl', version: '2.0.5'
26+
}
27+
28+
test {
29+
useJUnitPlatform()
30+
}
31+
32+
jar {
33+
manifest {
34+
attributes(
35+
'Class-Path': configurations.runtimeClasspath.collect { it.name }.join(' ')
36+
)
37+
}
38+
from {
39+
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
40+
}
41+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

gradlew

Lines changed: 234 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 89 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

settings.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
rootProject.name = 'MatrixMath'
2+

0 commit comments

Comments
 (0)