From d79e697bf6b97a43696557b2b59605c8cfd9eff6 Mon Sep 17 00:00:00 2001 From: Magdalena Luz Date: Wed, 6 Nov 2024 11:29:29 +0100 Subject: [PATCH] set arch = None default --- bindings/python/src/ghex/unstructured.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/src/ghex/unstructured.py b/bindings/python/src/ghex/unstructured.py index 0789c570..e25fbe62 100644 --- a/bindings/python/src/ghex/unstructured.py +++ b/bindings/python/src/ghex/unstructured.py @@ -36,7 +36,7 @@ def make_field_descriptor( domain_desc: DomainDescriptor, field: NDArray, *, - arch: Optional[Architecture] = Architecture.CPU, + arch: Optional[Architecture] = None, ) -> Any: if not arch: if hasattr(field, "__cuda_array_interface__") or hasattr(field, "__hip_array_interface__"):