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
