Examples of CLContextCallback


Examples of org.lwjgl.opencl.CLContextCallback

    else if(LWJGLUtil.getPlatform() != LWJGLUtil.PLATFORM_MACOSX)
      deviceWorkSize = device.getInfoSize(CL10.CL_DEVICE_MAX_WORK_GROUP_SIZE);
    else
      deviceWorkSize = 64;

    context = CL10.clCreateContext(properties, device, new CLContextCallback() {
      protected void handleMessage(String errinfo, ByteBuffer private_info) {
        diabloMiner.error(errinfo);
      }
    }, null);
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.