git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6201 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -817,7 +817,12 @@ void Input::accelerator()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
lmp->offaccel = 0;
|
if (strcmp(arg[0],"on") == 0) {
|
||||||
|
if (narg != 1) error->all("Illegal accelerator command");
|
||||||
|
lmp->offaccel = 0;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (strcmp(arg[0],"cuda") == 0) lmp->cuda->accelerator(narg-1,&arg[1]);
|
if (strcmp(arg[0],"cuda") == 0) lmp->cuda->accelerator(narg-1,&arg[1]);
|
||||||
else error->all("Illegal accelerator command");
|
else error->all("Illegal accelerator command");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user