Skip to content
Snippets Groups Projects
Commit cdab4128 authored by Martin Bauer's avatar Martin Bauer
Browse files

create_kernel now also takes an assignment collection

parent d5373ec8
No related merge requests found
......@@ -55,6 +55,8 @@ def create_kernel(assignments, target='cpu', data_type="double", iteration_slice
[0., 4., 4., 4., 0.],
[0., 0., 0., 0., 0.]])
"""
if isinstance(assignments, AssignmentCollection):
assignments = assignments.all_assignments
# ---- Normalizing parameters
split_groups = ()
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment