Skip to content

Commit

Permalink
minor clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
jjfumero committed Dec 25, 2020
1 parent 628e17d commit 83f7724
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 2 additions & 6 deletions Makefile
@@ -1,7 +1,7 @@
all: build

# Variable passed for build:
# BACKEND - which backend to include in the build. Can be any combination of { opencl, ptx }. Default: opencl
# Variable passed for the build process:
# BACKEND=<ptx|opencl>. It specifies which backend/s to use { opencl, ptx }. The default one is `opencl`.
BACKEND?=opencl

build jdk-8:
Expand All @@ -18,7 +18,6 @@ graal-jdk-11:

ptx:
./bin/compile.sh jdk-8 BACKEND=ptx,opencl


offline:
./bin/compile.sh jdk-8 $(BACKEND) OFFLINE
Expand All @@ -37,7 +36,6 @@ tests:
test-slam:
tornado-test.py -V --fast uk.ac.manchester.tornado.unittests.slam.graphics.GraphicsTests


test-hdgraphics:
@[ "${HDGRAPHICS_ID}" ] || ( echo ">> HDGRAPHICS_ID is not set. Please do \`export HDGRAPHICS_ID=<dev-id>\`"; exit 1 )
tornado-test.py -V -J"-Ds0.t0.device=0:${HDGRAPHICS_ID} -Ds0.t1.device=0:${HDGRAPHICS_ID}" uk.ac.manchester.tornado.unittests.reductions.TestReductionsFloats
Expand All @@ -46,10 +44,8 @@ test-hdgraphics:
tornado-test.py -V -J"-Ds0.t0.device=0:${HDGRAPHICS_ID} -Ds0.t1.device=0:${HDGRAPHICS_ID}" uk.ac.manchester.tornado.unittests.reductions.TestReductionsLong
tornado-test.py -V -J"-Ds0.t0.device=0:${HDGRAPHICS_ID} -Ds0.t1.device=0:${HDGRAPHICS_ID}" uk.ac.manchester.tornado.unittests.reductions.TestReductionsAutomatic


eclipse:
mvn eclipse:eclipse

clean-graphs:
rm *.cfg *.bgv *.log

Expand Up @@ -122,8 +122,12 @@ public OCLCommandQueue(long id, long properties, int version) {

native static void clFinish(long queueId) throws OCLException;

@Deprecated
public void flushEvents() {
try {
clFlush(commandQueue);
} catch (OCLException e) {
e.printStackTrace();
}
}

public long getContextId() {
Expand Down

0 comments on commit 83f7724

Please sign in to comment.