Examples of run()


Examples of org.trifort.rootbeer.runtime.Context.run()

      watch.start();
      Context context = rootbeer.createDefaultContext();
      context.setKernel(testing_item);
      context.setThreadConfig(thread_config);
      context.buildState();
      context.run();
      context.close();
      m_passed = true;
      watch.stop();
      m_gpuTime = watch.elapsedTimeMillis();
      watch.start();
View Full Code Here

Examples of org.trifort.rootbeer.runtime.Rootbeer.run()

    for(int i = 0; i < size; ++i){
      jobs.add(new MMult(a, b, c, i, size));
    }

    Rootbeer rootbeer = new Rootbeer();
    rootbeer.run(jobs);
  }

  public void cpuMultMatrices(int[] a, int[] b, int[] c, int size){
    for(int x = 0; x < size; ++x){
      for(int y = 0; y < size; ++y){
View Full Code Here

Examples of org.trifort.rootbeer.util.CmdRunner.run()

      cmd[0] = nvcc_path;
      cmd[1] = "--version";
    }
   
    CmdRunner runner = new CmdRunner();
    runner.run(cmd, new File("."));
    List<String> lines = runner.getOutput();
    if(lines.isEmpty()){
      List<String> error_lines = runner.getError();
      for(String error_line : error_lines){
        System.out.println(error_line);
View Full Code Here

Examples of org.trifort.rootbeer.util.CompilerRunner.run()

      if (File.separator.equals("/")) {
        command = m_cudaPath.get() + "/nvcc " + model_string + " " +
          m_gencodeOptions + "-I/usr/local/cuda/include -fatbin " + m_generated.getAbsolutePath() +
          " -o " + code_file.getAbsolutePath();
        CompilerRunner runner = new CompilerRunner();
        List<String> errors = runner.run(command);
        if (errors.isEmpty() == false) {
          m_result =  new CompileResult(m_m32, null, errors);
          return;
        }
      } else {
View Full Code Here

Examples of org.tsbs.core.CommandHandler.run()

        HashMap<String, CallableFunction> map = new HashMap<>();
        map.put( "!echo", new EchoBotFunction() );
        map.put( "!fun", new FunBotFunction() );
        map.put( "!move", new MoveFunction() );
        CommandHandler handler = new CommandHandler( 1, map );
        handler.run();


        BotConfiguration conf = new BotConfiguration( "config\\config.cfg" );
        TS3Config config2 = new TS3Config();
        config2.setHost( configMap.get( "host" ) );
View Full Code Here

Examples of org.tuba.editorinterface.ArtefactSegregator.run()

   * @param textDocument
   * @return number of oo undo steps
   */
  private int undoIntegration() {
    ArtefactSegregator artefactSegregator = new ArtefactSegregator();
    return artefactSegregator.run(tutorialDocument);
  }

  private void redoIntegration(int ooUndoSteps) {
    try {
      IDispatch dispatch = editor.getFrame().getDispatch(".uno:Undo"); //$NON-NLS-1$
View Full Code Here

Examples of org.twdata.maven.cli.MojoCall.run()

        MojoCall call = new MojoCall(mojoInfo[0], mojoInfo[1], mojoInfo[2]);

        console.writeInfo("Executing: " + call);
        long start = System.currentTimeMillis();

        call.run(project, session, executionEnvironment);

        long now = System.currentTimeMillis();
        console.writeInfo("Current project: " + project.getArtifactId());
        console.writeInfo("Execution time: " + (now - start) + " ms");
View Full Code Here

Examples of org.uberfire.client.workbench.widgets.animations.LinearFadeOutAnimation.run()

                removing = false;
                remove();
            }

        };
        fadeOutAnimation.run( 500 );
    }

}
View Full Code Here

Examples of org.uberfire.client.workbench.widgets.animations.Sequencer.run()

        };
        final Sequencer s = new Sequencer();
        s.add( fadeInAnimation, 250 );
        s.add( pauseAnimation, 2000 );
        s.run();
    }

}
View Full Code Here

Examples of org.uengine.processdesigner.AntToolDialog.run()

    for(int i=0; i<args.length; i++)
      argLine += (args[i] + " ");

    AntToolDialog ant = new AntToolDialog();
    ant.setCommand(argLine);
    ant.run();
  }

  public String toString(){
    return getName();
  }
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.