Skip to content

Commit bc0e6b2

Browse files
fixes for gpu
1 parent 9d44e27 commit bc0e6b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_capi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,8 +655,8 @@ class Cells(xo.Struct):
655655
src = r"""
656656
#include "xobjects/headers/common.h"
657657
658-
int MAX_PARTICLES = 4;
659-
int MAX_CELLS = 3;
658+
static const int MAX_PARTICLES = 4;
659+
static const int MAX_CELLS = 3;
660660
661661
GPUKERN void loop_over(
662662
Cells cells,

0 commit comments

Comments
 (0)