mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 22:25:32 -04:00
DBM/OpenCL: fixed condition
This commit is contained in:
parent
d7e378bd80
commit
5ac43f10d0
1 changed files with 1 additions and 4 deletions
|
|
@ -111,10 +111,7 @@ dbm_multiply(double alpha, int itask, int ntasks, int size, int param_format,
|
|||
params += (itask + tid) * 3;
|
||||
ibase = 1;
|
||||
}
|
||||
#if !defined(NDEBUG)
|
||||
if (m < XM(shape))
|
||||
#endif
|
||||
{ /* valid slice (subtask) */
|
||||
if (m < XM(shape)) { /* valid slice (subtask) */
|
||||
b += XB(params, ibase);
|
||||
if (16 <= XK(shape)) {
|
||||
DBM_MULTIPLY(alpha, ibase, params, shape, a, b, c, cvec, m, BN, 16);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue