• Martin Bauer's avatar
    Changed parameter bind caching for CPU and GPU kernels · d30c5f73
    Martin Bauer authored
    - 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