Due to an update of the docker containers, some parts of pystencils need to be adapted.
test_field_layouts
in test_buffer_gpu
fails because the zeros
function of a gpu_array can only deal with continuous data since 2021.1. Thus the test case fails now with the zyxf
field layout. This was fixed by replacing zeros_like
with empty_like
Philox
's advance
method. This was fixed by directly seeding to the correct counter value.counter
variable is now different and produces floats instead of integers. This is probably a kerncraft bug because the loop counters should not be obtained as floats. Later in the code they enter a range
function and this causes the failure.