Skip to content

Commit

Permalink
Merge pull request #7 from beehive-lab/release/0.1.4
Browse files Browse the repository at this point in the history
[release] v0.1.4
  • Loading branch information
jjfumero authored Aug 13, 2024
2 parents 8c0d0e6 + 682684b commit 05f2cdc
Show file tree
Hide file tree
Showing 21 changed files with 29 additions and 18 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ levelzero.iml
*.bc
*.log
target/
.idea/
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## Beehive LevelZero-JNI 0.1.4
13/08/2024

- Add Method to set constant parameters: [commit](https://github.com/beehive-lab/levelzero-jni/commit/3c62cadfe183f6b147b9d84140e55b70eb80222d).
- Utility script added for compiling OpenCL C kernels to SPIR-V using CLANG/LLVM: [commit](https://github.com/beehive-lab/levelzero-jni/commit/4797d51a98cf913cfec11f9675bb0cd80069961c).
- Low-level code to handle pointers to primitives removed: [commit](https://github.com/beehive-lab/levelzero-jni/commit/bf98f78ff90db7579225ea2e5119dd55758e761a).
- Documentation updated: [commit](https://github.com/beehive-lab/levelzero-jni/commit/8c0d0e63243bae311fe4c901d5791f8413824a10).


## Beehive LevelZero-JNI 0.1.3
26/03/2024

Expand Down
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.3</version>
<version>0.1.4</version>

<name>levelzero</name>
<url>https://github.com/beehive-lab/levelzero-jni</url>
Expand Down
1 change: 1 addition & 0 deletions scripts/chnageVersion.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sed -i 's/0.1.3/0.1.4/g' *
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.3.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.4.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.3.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.4.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.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestCopies
java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.4.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.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestCopies
java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.4.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.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestWithEvents
java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.4.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.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestWithEvents
java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.4.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.3.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.4.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.3.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.4.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.3.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.4.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.3.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.4.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.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestLargeBuffer
java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.4.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.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestLargeBuffer
java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.4.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.3.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.4.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.3.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.4.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestLevelZero copyData.spv
2 changes: 1 addition & 1 deletion scripts/testConstants.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
clang -cc1 -triple spir constantsParameters.cl -O0 -finclude-default-header -emit-llvm-bc -o constantsParameters.bc
llvm-spirv constantsParameters.bc -o constantsParameters.spv

java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestConstantParameters
java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.4.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestConstantParameters
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.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestTransferTimers
java -Djava.library.path=./levelZeroLib/build/Release -cp target/beehive-levelzero-jni-0.1.4.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.3.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestTransferTimers
java -Djava.library.path=./levelZeroLib/build -cp target/beehive-levelzero-jni-0.1.4.jar uk.ac.manchester.tornado.drivers.spirv.levelzero.samples.TestTransferTimers

0 comments on commit 05f2cdc

Please sign in to comment.