Skip to content

Commit

Permalink
levelzero-jni v0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jjfumero committed Mar 26, 2024
1 parent a38884d commit 15783e3
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 22 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
## Beehive LevelZero-JNI 0.1.3
14/03/2024
26/03/2024

- Add Windows 10/11 installer support using Window Microsoft Studio Tools: [commit](https://github.com/beehive-lab/levelzero-jni/commit/02b24de0e8fe86790bdc29e1cf50b2d199c8e999).

- Add Windows installer support

## Beehive LevelZero-JNI 0.1.2
12/12/23
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@ Baremetal GPU and FPGA programming for Java using Intel's [Level Zero API](https

#### Linux

Note: Using tag `v1.4.1` from `level-zero` which implements Level Zero Specification 1.2.

```bash
git clone https://github.com/oneapi-src/level-zero.git
cd level-zero
git checkout tags/v1.4.1
mkdir build
cd build
cmake ..
Expand Down
Binary file modified copyData.spv
Binary file not shown.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>beehive-lab</groupId>
<artifactId>beehive-levelzero-jni</artifactId>
<version>0.1.2</version>
<version>0.1.3</version>

<name>levelzero</name>
<url>https://github.com/beehive-lab/levelzero-jni</url>
Expand Down
2 changes: 1 addition & 1 deletion scripts/compileAndRun.cmd
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
mvn clean install

java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.2.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestLevelZero copyData.spv
java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestLevelZero copyData.spv
2 changes: 1 addition & 1 deletion scripts/compileAndRun.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ mvn clean install
clang -cc1 -triple spir copyData.cl -O0 -finclude-default-header -emit-llvm-bc -o copyData.bc
llvm-spirv copyData.bc -o copyData.spv

java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.2.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestLevelZero copyData.spv
java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestLevelZero copyData.spv
2 changes: 1 addition & 1 deletion scripts/copies.cmd
Original file line number Diff line number Diff line change
@@ -1 +1 @@
java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.2.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestCopies
java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestCopies
2 changes: 1 addition & 1 deletion scripts/copies.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.2.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestCopies
java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestCopies
2 changes: 1 addition & 1 deletion scripts/events.cmd
Original file line number Diff line number Diff line change
@@ -1 +1 @@
java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.2.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestWithEvents
java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestWithEvents
2 changes: 1 addition & 1 deletion scripts/events.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.2.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestWithEvents
java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestWithEvents
2 changes: 1 addition & 1 deletion scripts/fences.cmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

./scripts/compileSPIRVKernelCopy.sh
java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.2.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestFences copyData.spv
java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestFences copyData.spv
2 changes: 1 addition & 1 deletion scripts/fences.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

./scripts/compileSPIRVKernelCopy.sh
java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.2.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestFences copyData.spv
java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestFences copyData.spv
2 changes: 1 addition & 1 deletion scripts/kernelTimers.cmd
Original file line number Diff line number Diff line change
@@ -1 +1 @@
java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.2.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestKernelTimer copyData.spv
java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestKernelTimer copyData.spv
2 changes: 1 addition & 1 deletion scripts/kernelTimers.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

./scripts/compileSPIRVKernelCopy.sh
java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.2.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestKernelTimer copyData.spv
java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestKernelTimer copyData.spv
2 changes: 1 addition & 1 deletion scripts/largeBuffers.cmd
Original file line number Diff line number Diff line change
@@ -1 +1 @@
java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.2.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestLargeBuffer
java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestLargeBuffer
2 changes: 1 addition & 1 deletion scripts/largeBuffers.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.2.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestLargeBuffer
java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestLargeBuffer
2 changes: 1 addition & 1 deletion scripts/run.cmd
Original file line number Diff line number Diff line change
@@ -1 +1 @@
java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.2.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestLevelZero copyData.spv
java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestLevelZero copyData.spv
2 changes: 1 addition & 1 deletion scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
clang -cc1 -triple spir copyData.cl -O0 -finclude-default-header -emit-llvm-bc -o copyData.bc
llvm-spirv copyData.bc -o copyData.spv

java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.2.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestLevelZero copyData.spv
java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestLevelZero copyData.spv
2 changes: 1 addition & 1 deletion scripts/transfersTimers.cmd
Original file line number Diff line number Diff line change
@@ -1 +1 @@
java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.2.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestTransferTimers
java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestTransferTimers
2 changes: 1 addition & 1 deletion scripts/transfersTimers.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.2.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestTransferTimers
java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestTransferTimers

0 comments on commit 15783e3

Please sign in to comment.