~ubuntu-branches/debian/sid/lammps/sid

« back to all changes in this revision

Viewing changes to src/USER-CUDA/fft3d_cuda.cpp

  • Committer: Package Import Robot
  • Author(s): Anton Gladky
  • Date: 2013-11-20 22:41:36 UTC
  • mfrom: (1.2.2)
  • Revision ID: package-import@ubuntu.com-20131120224136-tzx7leh606fqnckm
Tags: 0~20131119.git7162cf0-1
* [e65b919] Imported Upstream version 0~20131119.git7162cf0
* [f7bddd4] Fix some problems, introduced by upstream recently.
* [3616dfc] Use wrap-and-sort script.
* [7e92030] Ignore quilt dir

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
{
89
89
#ifdef FFT_CUFFT
90
90
  plan->iterate++;
91
 
  timespec starttime,starttime2;
92
 
  timespec endtime,endtime2;
 
91
  my_times starttime,starttime2;
 
92
  my_times endtime,endtime2;
93
93
 
94
94
  int i,total,length,offset,num;
95
95
  double norm;
103
103
if(nprocs>1)
104
104
{
105
105
  if(plan->init)
106
 
  clock_gettime(CLOCK_REALTIME,&starttime);
 
106
  my_gettime(CLOCK_REALTIME,&starttime);
107
107
  if (plan->pre_plan) {
108
108
    if (plan->pre_target == 0) copy = out;
109
109
    else copy = plan->copy;