예제 #1
0
    void call_func( )
    {
      if( gpuTimer && cpuTimer )
      {
        gpuTimer->Start( gpuTimerID );
        cpuTimer->Start( cpuTimerID );

        xDense2Csr_Function( false );

        cpuTimer->Stop( cpuTimerID );
        gpuTimer->Stop( gpuTimerID );
      }
      else
      {
        xDense2Csr_Function( false );
      }
    }// end of call_func
예제 #2
0
 void call_func()
 {
     timer.Start(timer_id);
     xDense2Csr_Function(true);
     timer.Stop(timer_id);
 }// end