2010-02-05 05:33:18 +08:00
|
|
|
/* ----------------------------------------------------------------------
|
|
|
|
LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
|
|
|
|
http://lammps.sandia.gov, Sandia National Laboratories
|
|
|
|
Steve Plimpton, sjplimp@sandia.gov
|
2009-08-12 03:00:24 +08:00
|
|
|
|
2010-02-05 05:33:18 +08:00
|
|
|
Copyright (2003) Sandia Corporation. Under the terms of Contract
|
2009-08-12 03:00:24 +08:00
|
|
|
DE-AC04-94AL85000 with Sandia Corporation, the U.S. Government retains
|
|
|
|
certain rights in this software. This software is distributed under
|
|
|
|
the GNU General Public License.
|
2010-02-05 05:33:18 +08:00
|
|
|
|
|
|
|
See the README file in the top-level LAMMPS directory.
|
|
|
|
------------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
/* ----------------------------------------------------------------------
|
|
|
|
Contributing authors: Mike Brown (SNL), wmbrown@sandia.gov
|
|
|
|
Peng Wang (Nvidia), penwang@nvidia.com
|
|
|
|
Paul Crozier (SNL), pscrozi@sandia.gov
|
|
|
|
------------------------------------------------------------------------- */
|
2009-08-12 03:00:24 +08:00
|
|
|
|
|
|
|
#include "nvc_device.h"
|
|
|
|
|
|
|
|
int main(int argc, char** argv) {
|
|
|
|
NVCDevice gpu;
|
2009-11-17 05:42:57 +08:00
|
|
|
gpu.init();
|
2009-08-12 03:00:24 +08:00
|
|
|
gpu.print_all(cout);
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|