Package org.encog.engine.opencl

Examples of org.encog.engine.opencl.EncogCLQueue.execute()


      queue.array2Buffer(this.tempDataArray, this.tempDataInBuffer);
      queue.array2Buffer(this.gradients, this.gradientInBuffer);
      queue.array2Buffer(this.paramArray, this.paramBuffer);

      // Execute the kernel
      queue.execute(this);
      queue.waitFinish();

      // Read the results
      queue.buffer2Array(this.errorBuffer, this.errors);
      queue.buffer2Array(this.weightOutArrayBuffer, this.weightOutArray);
View Full Code Here


      queue.array2Buffer(this.weightInArray, this.weightInArrayBuffer);
      queue.array2Buffer(this.paramArray, this.paramBuffer);

      // Execute the kernel
      queue.execute(this);
      queue.waitFinish();

      // Read the results
      queue.buffer2Array(this.errorBuffer, this.errors);
      queue.buffer2Array(this.layerOutputBuffer, this.layerOutput );
View Full Code Here

    final EncogCLQueue queue = getDevice().getQueue();

    queue.array2Buffer(this.arrayA, this.bufferArrayA);
    queue.array2Buffer(this.arrayB, this.bufferArrayB);

    queue.execute(this);

    queue.buffer2Array(this.bufferTargetArray, this.targetArray);

    final double[] result = new double[this.targetArray.length];
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.