PySDM icon indicating copy to clipboard operation
PySDM copied to clipboard

GPU support for breakup

Open abulenok opened this issue 3 years ago • 6 comments

abulenok avatar Jan 04 '23 13:01 abulenok

Stale issue message

github-actions[bot] avatar Apr 09 '23 13:04 github-actions[bot]

Here's a recent error caught on CI:


IndexError: index 2 is out of bounds for axis 0 with size 2


i = 0, j = array([1]), k = array([2]), idx = array([0, 1])
is_first_in_pair = array([False, False]), prob_like = array([1.], dtype=float32)

IIUC, happens at the end of:

E               def Commons_pair_indices(
E                     i,
E                     j,
E                     k,
E                     idx,
E                     is_first_in_pair,
E                     prob_like
E                 ):
E                     if (prob_like[i] == 0):
E                         return True;
E                     
E                     offset = 1 - is_first_in_pair[2 * i];
E                     j[0] = idx[2 * i + offset];
E                     k[0] = idx[2 * i + 1 + offset];

slayoo avatar May 16 '23 22:05 slayoo

Stale issue message

github-actions[bot] avatar Jul 16 '23 13:07 github-actions[bot]

Stale issue message

github-actions[bot] avatar Sep 19 '23 13:09 github-actions[bot]

Stale issue message

github-actions[bot] avatar Nov 28 '23 13:11 github-actions[bot]

Stale issue message

github-actions[bot] avatar Feb 04 '24 13:02 github-actions[bot]