Examples of CudaTweaks


Examples of org.trifort.rootbeer.generate.opencl.tweaks.CudaTweaks

    return source_code;
  }

  public CompileResult[] getCudaCode() throws Exception {
    String[] source_code = makeSourceCode();
    return new CudaTweaks().compileProgram(source_code[0], Configuration.compilerInstance().getCompileArchitecture());
  }
View Full Code Here

Examples of org.trifort.rootbeer.generate.opencl.tweaks.CudaTweaks

   
    m_classOutputFolder = RootbeerPaths.v().getOutputClassFolder();
    m_jimpleOutputFolder = RootbeerPaths.v().getOutputJimpleFolder();
   
    if(Configuration.compilerInstance().getMode() == Configuration.MODE_GPU){     
      Tweaks.setInstance(new CudaTweaks());
    } else {
      Tweaks.setInstance(new NativeCpuTweaks());
    }
   
    m_enableClassRemapping = true;
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.