Skip to content
Snippets Groups Projects
Commit 32e95bda authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

ListOfListsBuilder: fix test.

parent 0b2d8291
No related branches found
No related tags found
No related merge requests found
...@@ -1115,7 +1115,7 @@ def test_list_builder(ctx_factory): ...@@ -1115,7 +1115,7 @@ def test_list_builder(ctx_factory):
from pyopencl.algorithm import ListOfListsBuilder from pyopencl.algorithm import ListOfListsBuilder
builder = ListOfListsBuilder(context, [("mylist", np.int32)], """//CL// builder = ListOfListsBuilder(context, [("mylist", np.int32)], """//CL//
void generate(USER_ARG_DECL LIST_ARG_DECL index_type i) void generate(LIST_ARG_DECL USER_ARG_DECL index_type i)
{ {
int count = i % 4; int count = i % 4;
for (int j = 0; j < count; ++j) for (int j = 0; j < count; ++j)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment