Richard Berger
65d11171c4
Replace functions which were deprecated since CUDA 5
2018-08-09 03:36:21 -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
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
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
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
Richard Berger
84b84c10db
Use OpenCL 2.x API in GPU package when supported
2017-09-09 19:53:56 -04: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
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
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
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
402d1a8605
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10667 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2013-08-23 14:41:20 +00:00
sjplimp
c81a8f1bc9
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8699 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2012-08-23 13:03:38 +00:00
sjplimp
647ea4c29f
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8694 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2012-08-21 13:59:15 +00:00
sjplimp
31551d81fd
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8693 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2012-08-21 13:57:32 +00:00
sjplimp
f3905bf229
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7989 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2012-03-28 22:10:48 +00:00
sjplimp
a1f79c40fe
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7922 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2012-03-07 15:00:34 +00:00
sjplimp
d30ba2d7eb
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7885 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2012-03-02 15:57:05 +00:00
sjplimp
6b1774dc20
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7575 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2012-01-25 15:31:54 +00:00
sjplimp
00dc2b891f
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7280 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2011-12-02 16:01:04 +00:00
sjplimp
37f098062b
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7275 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2011-12-02 15:51:43 +00:00
sjplimp
479275be1d
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6405 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2011-06-14 13:32:50 +00:00
sjplimp
98ccbe3e69
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6340 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2011-06-08 20:24:29 +00:00
sjplimp
14a348470c
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6136 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2011-05-18 20:03:24 +00:00
sjplimp
5f799182b3
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6053 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2011-05-02 15:02:52 +00:00
sjplimp
8f2257ecbf
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5537 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2011-01-12 15:24:04 +00:00
pscrozi
4366bfffd3
Getting rid of extra CR characters at ends of lines.
...
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5285 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2010-11-23 19:52:03 +00:00
pscrozi
5a82c99485
Changes from Mike Brown.
...
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5277 f3b2605a-c512-4ea7-a41b-209d697bcdaa
2010-11-23 00:40:35 +00:00