From c068b62f72316c768bca3729da65cada068bb88d Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Fri, 2 Apr 2021 18:07:45 -0500 Subject: [PATCH 1/2] Add missing use_kwargs to make_morton_bin_count_type --- boxtree/tree_build_kernels.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boxtree/tree_build_kernels.py b/boxtree/tree_build_kernels.py index 1dd74cb..c8b5fa5 100644 --- a/boxtree/tree_build_kernels.py +++ b/boxtree/tree_build_kernels.py @@ -122,7 +122,7 @@ class _KernelInfo(Record): refine_weight_dtype = np.dtype(np.int32) -@memoize +@memoize(use_kwargs=True) def make_morton_bin_count_type(device, dimensions, particle_id_dtype, srcntgts_have_extent): fields = [] -- GitLab From 114f77a76947936610aeb896d67805ba5b836ddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kl=C3=B6ckner?= Date: Fri, 2 Apr 2021 23:28:15 +0000 Subject: [PATCH 2/2] Pin decorator <5 for https://github.com/illinois-ceesd/mirgecom/issues/302 --- requirements.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/requirements.txt b/requirements.txt index 80b397a..5bb27fd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,6 @@ +# https://github.com/illinois-ceesd/mirgecom/issues/302 +decorator<5 + numpy git+https://github.com/inducer/pyopencl#egg=pyopencl git+https://github.com/inducer/pymbolic#egg=pymbolic -- GitLab