Package org.trifort.rootbeer.generate.opencl.tweaks

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


   
    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

Related Classes of org.trifort.rootbeer.generate.opencl.tweaks.CudaTweaks

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.