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

Changed parameter bind caching for CPU and GPU kernels

- previously all objects where cached by id()
- for waLBerla simulations in each time step a new np.array view
  is created from the waLBerla field. Each of these views has a
  different id -> caching did not work for waLBerla setups
- changed hash for numpy arrays: instead of id, a tuple of
  (dataPtr, strides, shapes) is used as hash input
parent 5bcf24bf
Branches
Tags
No related merge requests found
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