Skip to content

Commit ac61662

Browse files
author
defremov
committed
Fix recognition result parser for opencl scenarios #78
- temporary disabled libOpenCL.so patching
1 parent 1f798b4 commit ac61662

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/src/main/java/openscience/crowdsource/video/experiments/MainActivity.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,8 @@ public void println(String text) {
929929
String scenarioCmd = meta.getString("cmd");
930930

931931
//patrh open cl version
932-
String openCLlibPath = patchOpenCL();
932+
String openCLlibPath = null;
933+
// openCLlibPath = patchOpenCL(); temporary disabled
933934

934935
if (openCLlibPath != null) {
935936
libPath = libPath + ":" + openCLlibPath;
@@ -1148,8 +1149,6 @@ private void showIsThatCorrectDialog(final String recognitionResultText, final S
11481149

11491150
private String patchOpenCL() {
11501151
String libOpenCLFileName = "libOpenCL.so";
1151-
// String fromFileDir = "/sdcard/openscience/code";
1152-
// String fromFilePath = fromFileDir + File.separator + libOpenCLFileName;
11531152
String fromFilePath = "/system/vendor/lib/egl/libGLES_mali.so";
11541153

11551154
String targetAppFileDir = AppConfigService.getLocalAppPath() + File.separator + "openscience" + File.separator + "code/libopencl/armeabi-v7a";

0 commit comments

Comments
 (0)