Skip to content

Commit

Permalink
Merge pull request #166 from halungge/fix_field_descriptor_default_arch
Browse files Browse the repository at this point in the history
set `arch = None` default im `make_field_descriptor`
  • Loading branch information
boeschf authored Dec 16, 2024
2 parents d196396 + d79e697 commit 38cc693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/python/src/ghex/unstructured.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__"):
Expand Down

0 comments on commit 38cc693

Please # to comment.