File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
app/src/main/java/openscience/crowdsource/video/experiments Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 2727//todo it's better to implement all services using IoC
2828public class AppConfigService {
2929
30+ public static final String DATA_LOCAL_TMP_VIENNACL_CACHE = "/data/local/tmp/viennacl_cache_" ;
3031 private final static String APP_CONFIG_DIR = "/sdcard/openscience/" ; //todo get log dir from common config service
3132 private final static String APP_CONFIG_FILE_PATH = APP_CONFIG_DIR + "app_config.json" ;
3233
Original file line number Diff line number Diff line change 6969import javax .microedition .khronos .opengles .GL10 ;
7070
7171import static openscience .crowdsource .video .experiments .AppConfigService .COMMAND_CHMOD_744 ;
72+ import static openscience .crowdsource .video .experiments .AppConfigService .DATA_LOCAL_TMP_VIENNACL_CACHE ;
7273import static openscience .crowdsource .video .experiments .AppConfigService .cachedScenariosFilePath ;
7374import static openscience .crowdsource .video .experiments .AppConfigService .externalSDCardOpensciencePath ;
7475import static openscience .crowdsource .video .experiments .AppConfigService .externalSDCardOpenscienceTmpPath ;
@@ -936,6 +937,7 @@ public void println(String text) {
936937 String [] scenarioEnv = {
937938 "CT_REPEAT_MAIN=" + String .valueOf (1 ),
938939 "LD_LIBRARY_PATH=" + libPath + ":$LD_LIBRARY_PATH" ,
940+ "VIENNACL_CACHE_PATH=" + DATA_LOCAL_TMP_VIENNACL_CACHE
939941 };
940942 publishProgress ("Prepared scenario env " + scenarioEnv [0 ]);
941943 publishProgress ("Prepared scenario env " + scenarioEnv [1 ]);
You can’t perform that action at this time.
0 commit comments