Skip to content
Snippets Groups Projects
Commit 212380d6 authored by Markus Holzer's avatar Markus Holzer
Browse files

Remove indepence check for some kernels

parent 86a6112e
No related merge requests found
Pipeline #66546 failed with stages
in 3 minutes and 24 seconds
......@@ -450,5 +450,6 @@ def create_boundary_kernel(field, index_field, stencil, boundary_functor, target
dir_symbol = TypedSymbol("dir", np.int32)
elements += [SympyAssignment(dir_symbol, index_field[0]('dir'))]
elements += boundary_functor(field, direction_symbol=dir_symbol, index_field=index_field)
config = CreateKernelConfig(index_fields=[index_field], target=target, **kernel_creation_args)
config = CreateKernelConfig(index_fields=[index_field], target=target, skip_independence_check=True,
**kernel_creation_args)
return create_kernel(elements, config=config)
......@@ -232,7 +232,8 @@ def test_issue62(dtype, instruction_set, padding):
config = ps.CreateKernelConfig(data_type=dtype,
default_number_float=dtype,
cpu_vectorize_info=opt)
cpu_vectorize_info=opt,
skip_independence_check=True)
ast = ps.create_kernel(up, config=config)
ast.compile()
......
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