Commit 3a19fa24 authored by Frederik Hennig's avatar Frederik Hennig
Browse files

Merge branch 'master' into advanced_streaming_extensions

parents 342663c5 09078869
......@@ -97,6 +97,7 @@ pycodegen-integration:
image: i10git.cs.fau.de:5005/pycodegen/pycodegen/full
stage: test
when: manual
allow_failure: false
script:
# run lbmpy long test pipeline
- export NUM_CORES=$(nproc --all)
......
......@@ -175,7 +175,7 @@ class LbmWeightInfo(CustomCodeNode):
def create_advanced_streaming_boundary_kernel(pdf_field, index_field, lb_method, boundary_functor,
prev_timestep=Timestep.BOTH, streaming_pattern='pull',
target='cpu', openmp=True):
target='cpu', openmp=True, **kernel_creation_args):
index_dtype = index_field.dtype.numpy_dtype.fields['dir'][0]
offsets_dtype = index_field.dtype.numpy_dtype.fields['x'][0]
indexing = BetweenTimestepsIndexing(
......@@ -192,7 +192,7 @@ def create_advanced_streaming_boundary_kernel(pdf_field, index_field, lb_method,
elements = [Assignment(dir_symbol, index_field[0]('dir'))]
elements += boundary_assignments.all_assignments
kernel = create_indexed_kernel(elements, [index_field], target=target, cpu_openmp=openmp)
kernel = create_indexed_kernel(elements, [index_field], target=target, cpu_openmp=openmp, **kernel_creation_args)
# Code Elements ahead of the loop
index_arrs_node = indexing.create_code_node()
......
Markdown is supported
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