Skip to content

Commit

Permalink
Fix error on main (is_field_allocator_factory_for -> is_field_allocat…
Browse files Browse the repository at this point in the history
…or_for)
  • Loading branch information
edopao committed Dec 18, 2024
1 parent 71e54fd commit 99030d0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_sdfgConvertible_laplap(cartesian_case): # noqa: F811

allocator, backend = cartesian_case.allocator, cartesian_case.backend

if gtx_allocators.is_field_allocator_factory_for(allocator, gtx_allocators.CUPY_DEVICE):
if gtx_allocators.is_field_allocator_for(allocator, gtx_allocators.CUPY_DEVICE):
import cupy as xp
else:
import numpy as xp
Expand Down Expand Up @@ -91,7 +91,7 @@ def test_sdfgConvertible_connectivities(unstructured_case): # noqa: F811

allocator, backend = unstructured_case.allocator, unstructured_case.backend

if gtx_allocators.is_field_allocator_factory_for(allocator, gtx_allocators.CUPY_DEVICE):
if gtx_allocators.is_field_allocator_for(allocator, gtx_allocators.CUPY_DEVICE):
import cupy as xp

dace_storage_type = dace.StorageType.GPU_Global
Expand Down

0 comments on commit 99030d0

Please sign in to comment.