Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
docking
ocladock
Commits
c685e23a
Commit
c685e23a
authored
Aug 13, 2018
by
lvs
Browse files
corrected definition of MAX_INTRAE_CONTRIBUTORS,
#33
parent
51526b39
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/defines.h
View file @
c685e23a
...
...
@@ -42,11 +42,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#define MAX_NUM_OF_ATOMS 256
#define MAX_NUM_OF_ATYPES 14
#define MAX_NUM_OF_ROTBONDS 32
#define MAX_INTRAE_CONTRIBUTORS 8192 // Ideally =MAX_NUM_OF_ATOMS * MAX_NUM_OF_ATOMS,
// but too large for __local in gradient calculation.
// If calculated as #rotbons * #atoms, then = 32 * 256 = 8192.
// If implementing an array of MAX_INTRAE_CONTRIBUTORS size,
// then error CL_OUT_OF_RESOURCES.
#define MAX_INTRAE_CONTRIBUTORS (MAX_NUM_OF_ATOMS * MAX_NUM_OF_ATOMS)
#define MAX_NUM_OF_ROTATIONS (MAX_NUM_OF_ATOMS * MAX_NUM_OF_ROTBONDS)
#define MAX_POPSIZE 2048
#define MAX_NUM_OF_RUNS 1000
...
...
Leonardo Solis
@solis
mentioned in issue
#33 (closed)
·
Aug 13, 2018
mentioned in issue
#33 (closed)
mentioned in issue #33
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment