Can you share the code? What hints are you getting that it can't find the OpenCL install? There shouldn't be too much different, I assume it is probably an environment variable or system property that needs to be accommodated.
On Tue, Nov 19, 2019 at 9:48 AM Torsten Bergh Moss <torsten.b.m...@ig.ntnu.no> wrote: > > I've made two versions of my Machine Learning-based UDF, one using vanilla > Java, and one using Aparapi, a java framework for executing native java-code > on the GPU, to speed up the classification-part of the algorithm. > > > Both run perfectly on the local environment on my machine (java/maven, > clicking "run" inside VSCode), and the vanilla UDF works perfectly inside of > AsterixDB, however, the GPU-based version can't seem to locate my machine's > OpenCL-installation from inside of AsterixDB, and therefore defaults back to > using the Java Thread Pool for paralellization (instead of the GPU), which > quickly runs out of threads for this task. > > > Has anybody done/experiences anything similar, or could point me in the > direction of which actions to take next? > > > Thanks for all the help guys, this is the last piece of the puzzle for the > project. > > > Best wishes, > > Torsten Bergh Moss