Package org.trifort.rootbeer.runtime

Examples of org.trifort.rootbeer.runtime.ThreadConfig


      return;
    }
    int h2 = numThreads / w;
    int y;
    for (y = 0; y < h - h2; y += h2) {
      ThreadConfig config = new ThreadConfig(100, 100, h2 * w);
      double miny2 = (maxy - miny) * y / h + miny;
      double maxy2 = (maxy - miny) * (y + h2) / h + miny;
      MyKernel myKernel = new MyKernel(pixels, maxdepth, w, h2, maxx, minx, maxy2, miny2, w * y);
      rootbeer.run(myKernel, config, context);
    }
View Full Code Here

TOP

Related Classes of org.trifort.rootbeer.runtime.ThreadConfig

Copyright © 2018 www.massapicom. 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.