Steven J. Plimpton
9c3748e07c
change Python.txt to Python_head.txt, adapt GPU package syntax
2018-08-15 07:31:31 -06:00
Steven J. Plimpton
7ec52784cb
more changes to doc pages and CMakeLists.txt
2018-08-14 15:44:25 -06:00
Richard Berger
65d11171c4
Replace functions which were deprecated since CUDA 5
2018-08-09 03:36:21 -04:00
Richard Berger
6d60075d3b
GPU Package: Use __shfl_xor_sync starting with CUDA 9
2018-08-09 02:33:35 -04:00
Richard Berger
ac7aeb6862
Add extra check for OpenCL timers
...
Fixes issue #1034 by preventing time() to access non-existent OpenCL events
2018-08-07 21:43:59 -04:00
Axel Kohlmeyer
923ae041dc
(temporary) workaround for memory leaks with OpenCL and MPI for upcoming stable release
2018-07-23 15:52:42 -04:00
Trung Nguyen
644888d03c
Fixed bugs with time_q and time_quat not calling start() and stop() when _charge and/or _rot in Atom are true for OpenCL builds
2018-07-22 15:12:45 -05:00
Trung Nguyen
b612c7ee75
Fixed a copy-paste bug in lal_neighbor.cpp for neigh no
2018-07-22 13:15:01 -05:00
Trung Nguyen
d71e037c23
Renamed dev_acc to dev_ilist for better description and updated the 3-body styles accordingly; also fixed bugs with accessing dev_packed from the three_end kernel of tersoff/mod and tersoff/zbl gpu styles for OpenCL builds
2018-07-22 11:27:14 -05:00
Trung Nguyen
94da4be922
Fixed bugs for tersoff gpu styles for OpenCL builds
2018-07-21 13:50:10 -05:00
Trung Nguyen
01c27194d4
Fixes for lal_neighbor.cpp for get_host() and for time_kernel
2018-07-21 00:18:30 -05:00
Trung Nguyen
223de57401
Added set_platform_accelerator() for nvd_device.h for OpenCL compatibility
2018-07-21 00:14:31 -05:00
Steve Plimpton
884e72a4ba
Merge pull request #1008 from akohlmey/support-platform-select
...
OpenCL related fixes and improvements to the GPU package
2018-07-20 14:32:49 -06:00
Axel Kohlmeyer
de8176b4fc
various minor OpenCL related fixes and improvements to the GPU package
...
- document previously undocumented OpenCL tune settings
- implement OpenCL platform selection through prefixing the device type with the platform id separated by a colon
- allow passing custom tune parameters though postfixing the device type with the 13 tuneable parameters separated by commas
- remove an extra clear() that would delete device properties structs an cause LAMMPS to output garbage strings
2018-07-20 14:41:54 -04:00
Richard Berger
2eb8d779e8
Fixes a memory leak when using OpenCL
...
The GPU package uses OpenCL events for measuring time. These have to be
released to free up memory. I removed the clReleaseEvent() calls in the
clear() method because in some cases they don't exist yet and I couldn't
find a way to check for a valid event (clRetainEvent didn't work). This
at least fixes the massive leak during simulations.
See issue #1006
2018-07-18 18:54:57 -04:00
Axel Kohlmeyer
ad4f61a5ce
update fatbin makefile for libgpu.a to latest additions
2018-07-10 09:07:54 -04:00
Trung Nguyen
28504e91c0
Added missing source files for born/coul/wolf/cs in the gpu library
2018-06-20 15:08:24 -05:00
Trung Nguyen
a9b794b2ab
Updates to the core-shell gpu pair styles
2018-06-20 10:43:13 -05:00
Trung Nguyen
3ae8fdccd8
Updated the kernels for born/coul/long/cs and coul/long/cs gpu styles
2018-06-19 16:22:00 -05:00
Trung Nguyen
70a7b37614
Updated pair coul/long/cs and born/coul/long/cs; updated gpu neighbor builds to support core-shell styles where r2 can be tiny.
2018-06-19 15:50:02 -05:00
Trung Nguyen
6842a527e0
Fixed bugs and added born/coul/long/cs/gpu and coul/long/cs/gpu, need tests
2018-06-18 00:15:28 -05:00
Trung Nguyen
265b6c261e
Fixed bugs with lj/expand/coul/long and its gpu version
2018-06-15 23:38:37 -05:00
ndtrung
a4a3133b76
Switched to standard C++ header files for consistency with other source files
2018-06-01 23:13:49 -05:00
Trung Nguyen
341fa160fe
Updated UCL_Device built with OpenCL to use platforms that support accelerators by default
2018-05-23 16:11:55 -05:00
Trung Nguyen
2f9e6d4566
Fixed bugs in lal_device.cpp with node_names dynamically allocated and dipole/long/gpu
2018-05-21 23:32:25 -05:00
Trung Nguyen
838a1938bb
Added pair styles lj/expand/coul/long to USER-MISC and its gpu version to GPU package, added lj/cut/dipole/long/gpu; and added an example Makfile to build GPU package for multi-arch
2018-05-20 17:03:12 -05:00
Axel Kohlmeyer
fccc16f42c
tune OpenCL for generic architecture by default
2018-05-08 00:50:23 -04:00
Axel Kohlmeyer
e7e1827e57
remove variable length arrays in gpu lib
2018-05-08 00:48:53 -04:00
Axel Kohlmeyer
3394d18a2a
convert gpu lib to use c++-style include files
2018-05-08 00:25:10 -04:00
Axel Kohlmeyer
776f588746
add support for UFM pair style support to OpenCL compilation makefile
2018-02-12 18:43:30 +01:00
Steve Plimpton
4af14becb5
Merge pull request #710 from rpleite/add-pair-ufm
...
Add the UFM pair potential - (GPU/OPT/OMP)
2018-02-02 14:38:28 -07:00
Axel Kohlmeyer
b34000a5e1
make *_gpu_reinit() functions consistent in returning void. correct prototypes in src/GPU, too.
...
this supersedes and closes #719
2017-11-04 02:49:22 -04:00
Rodolfo Leite
941ee565a1
Added lal_ufm_ext.cpp in lib/gpu
2017-10-24 11:12:51 -02:00
Rodolfo Leite
b63acf6843
Added the UFM files (doc/src - lib/gpu - src)
2017-10-24 11:11:10 -02:00
Axel Kohlmeyer
be96486d66
compile all objects in the GPU library with -fPIC for building shared object
2017-09-19 11:24:48 -04:00
Axel Kohlmeyer
48dd824b26
ignore generated header files with OpenCL kernels
2017-09-19 11:24:38 -04:00
Steve Plimpton
f971cd6e45
Merge pull request #647 from rbberger/gpu_opencl_2
...
Use OpenCL 2.x API in GPU package when supported
2017-09-12 10:56:13 -06:00
Richard Berger
84b84c10db
Use OpenCL 2.x API in GPU package when supported
2017-09-09 19:53:56 -04:00
Anders Hafreager
dbc60d949f
Fixed OpenCL compilation issues with __global keywords
2017-09-06 15:08:02 +02:00
Axel Kohlmeyer
e88ff8d6f9
correct embedded help for GPU lib Install.py
2017-08-23 15:20:30 -04:00
Steve Plimpton
00aafef1a8
Merge pull request #597 from ndtrung81/three-body-short-nlist
...
Implementing short neighbor lists for three-body gpu styles
2017-08-17 11:31:59 -06:00
Axel Kohlmeyer
6d24be8bb7
whitespace cleanup
2017-08-10 21:14:40 -04:00
Axel Kohlmeyer
30431d4edb
rework Install.py for gpu library. make it consistent with other lib folders and support python3
2017-08-08 16:57:27 -04:00
Trung Nguyen
aa60ef6ed8
Cleaned up 3-body kernels, reverted some mistaken changes to vashishta
2017-07-23 00:08:55 -05:00
Trung Nguyen
a71f5a0c20
Enabled again neigh no with tpa > 1 for 3-body gpu styles for backward compatibility, could be slower than neigh no tpa 1 in many cases
2017-07-22 22:57:37 -05:00
Trung Nguyen
3d1d0c58c7
Cleaned up 3-body gpu styles, and fixed a bug for tersoff/zbl/gpu.
...
There is a unresolved bug for neigh no with tpa > 1 with BaseThree, enforce tpa = 1 for neigh no in BaseThree for now.
2017-07-21 12:08:04 -05:00
Steve Plimpton
296e572e69
better Install.py script for KIM from Ryan Elliott
2017-07-14 16:25:16 -06:00
Trung Nguyen
cdac5f496c
Built 3-body short neighbor list for the 3-body kernels using per-pair cutoffs for vashishta gpu style
2017-07-11 00:13:56 -05:00
Trung Nguyen
8c9db3ea00
Built 2-body short neighbor list and used for 2-body kernels in tersoff gpu styles
2017-07-10 23:50:21 -05:00
Trung Nguyen
ea2b01e83b
Refactored 3-body gpu styles to remove code duplication
2017-07-08 20:17:31 -05:00
Trung Nguyen
34fe2273f6
Added short neighbor list implementation for tersoff/zbl/gpu and tersoff/mod/gpu
2017-07-08 14:59:48 -05:00
Trung Nguyen
77c60189b8
Minor cleanups for tersoff/gpu
2017-07-08 14:43:53 -05:00
Trung Nguyen
1c6533e53d
Working on short neighbor list for tersoff/gpu
2017-07-08 14:15:26 -05:00
Trung Nguyen
68206079da
Supported short neighbor lists for 3-body kernels in sw/gpu and vashishta/gpu
2017-07-07 16:47:24 -05:00
Anders Hafreager
d7646aeeed
Fixed opencl error
2017-06-14 12:03:47 +02:00
Anders Hafreager
5f9341813d
Removed debug output
2017-06-14 10:57:54 +02:00
Anders Hafreager
8441307185
Removed non-general CUDA-dir in makefile
2017-06-14 10:28:46 +02:00
Anders Hafreager
720af5c360
Added vashishta to OpenCL makefile
2017-06-14 10:27:52 +02:00
Anders Hafreager
eeff0b8633
Added vashishta GPU package for NVidia
2017-06-14 10:24:16 +02:00
Steve Plimpton
addd87c0f7
new Section package and start doc pages and build scripts
2017-05-04 11:22:20 -06:00
Axel Kohlmeyer
b8cb80b219
rename files in GPU library from cg_cmm to lj_sdk
2017-04-26 19:46:10 -04:00
Axel Kohlmeyer
cd435c0c58
change references from cg_cmm to lj_sdk and from cmm to sdk
2017-04-26 19:44:25 -04:00
Axel Kohlmeyer
c8cfd53c1b
adjust makefiles in lib tree, so they don't return an error exit code on "make clean" targets.
...
(cherry picked from commit 4117218ca3
)
2016-09-06 21:28:55 -04:00
Steve Plimpton
abc5a32c8a
gpu lib sync
2016-08-23 15:30:01 -06:00
sjplimp
34f829c5ac
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15261 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-07-05 14:41:13 +00:00
sjplimp
a99c922a14
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15249 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-07-01 23:29:38 +00:00
sjplimp
9656958169
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15248 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-07-01 23:27:26 +00:00
sjplimp
e5fb28a6a0
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15199 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-06-17 23:07:24 +00:00
sjplimp
328224a298
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15181 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-06-16 15:44:41 +00:00
sjplimp
a4b82a95e9
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15162 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-06-14 13:58:49 +00:00
sjplimp
98ed24437d
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14875 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-04-26 18:28:26 +00:00
sjplimp
184d5dc0f0
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14867 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-04-22 17:51:49 +00:00
sjplimp
008896a77d
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14808 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-04-07 21:10:37 +00:00
sjplimp
67a4004f23
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14807 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-04-07 21:05:19 +00:00
sjplimp
756480ba64
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14701 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2016-03-01 20:39:41 +00:00
sjplimp
f6c76f4623
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14265 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-11-18 18:23:45 +00:00
sjplimp
44c8bb9cbf
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14060 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-09-24 20:23:56 +00:00
sjplimp
6f39a0a78d
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14059 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-09-24 20:23:37 +00:00
sjplimp
c7303a1c1d
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14001 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-09-08 14:13:03 +00:00
sjplimp
fec0587835
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13926 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-08-20 16:53:24 +00:00
sjplimp
071ded95fc
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13907 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-08-19 15:16:24 +00:00
sjplimp
21f8abda24
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13906 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-08-19 15:15:32 +00:00
sjplimp
c3fd41010d
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13464 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2015-05-15 16:33:17 +00:00
sjplimp
52408b16d2
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12677 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-10-31 14:46:50 +00:00
sjplimp
7510ec7960
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12655 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-10-29 15:47:24 +00:00
sjplimp
c90746a20c
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12638 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-10-21 16:33:32 +00:00
sjplimp
37ab2751d1
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12398 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-09-04 15:42:15 +00:00
sjplimp
b5d89cd768
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12169 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-07-02 20:53:37 +00:00
sjplimp
67ae64329e
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12146 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-06-27 17:25:22 +00:00
sjplimp
2ec1442e97
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12132 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-06-14 19:34:19 +00:00
sjplimp
b8f6904ce3
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12128 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-06-13 22:09:12 +00:00
sjplimp
99f44f64cc
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11842 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-04-29 23:10:42 +00:00
pscrozi
a1c872ffb4
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11667 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-03-21 20:42:38 +00:00
sjplimp
8d9e3945dd
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11661 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-03-20 15:00:40 +00:00
sjplimp
67afd6fb68
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11660 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-03-20 14:50:49 +00:00
sjplimp
64138f3433
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11363 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-01-29 00:08:18 +00:00
sjplimp
1e28f6b218
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11362 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-01-29 00:07:38 +00:00
sjplimp
28194a14eb
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11335 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-01-25 23:53:12 +00:00
sjplimp
496746e338
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11231 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-01-13 15:52:16 +00:00
sjplimp
bbffbe06a2
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11230 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2014-01-13 15:51:54 +00:00