OpenCL backend in Java Encog 3

The main branch of encog-core-java no longer has a method Encog.getInstance().getCL()or explicit access to OpenCL devices (cf example LeadTune encog-java: Encog- based BenchmarkCL).

Instead, we appear to be referring to ConcurrentTrainingManager, which magically detects GPUs along with processors, although the implementation of this is very unclear.

The only mention of OpenCL in the source code is ResilientPropagationwhere the OpenCL device object is considered an optional design parameter, but it is not.

Does anyone know if OpenCL support was removed from Encog without updating JavaDocs? Better yet, can someone suggest a working example of open source learning using OpenCL on Encog 3.x?

My attempt to send TrainingJobin ConcurrentTrainingManagerfailed because I could not figure out how to set up training Strategyfor mine RPROPJob.

+4
source share
1 answer

In response to my respective GH issue , Jeff Heaton wrote:

OpenCL is not currently supported by Encog. GPU programming is not what I'm working on right now. If someone would like to contribute something to this area, that would be great. But TensorFlow and Deeplearning4J already have a lot of work on working with a neural network, I'm not going to duplicate it. In addition, GPU programming is beyond my competence.

Ivan Vasilev Neural Networks, OpenCL 2.

+3

Source: https://habr.com/ru/post/1681059/


All Articles