From e59bcd500aa0a535e259afb8c1d785714de0e12c Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Thu, 15 Aug 2024 21:44:58 -0500 Subject: [PATCH] remove uses of deprecated force_device_scalars=False --- meshmode/array_context.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/meshmode/array_context.py b/meshmode/array_context.py index fbd8e25d..76661526 100644 --- a/meshmode/array_context.py +++ b/meshmode/array_context.py @@ -273,13 +273,6 @@ class PytestPyOpenCLArrayContextFactory( actx_class = PyOpenCLArrayContext -# deprecated -class PytestPyOpenCLArrayContextFactoryWithHostScalars( - _PytestPyOpenCLArrayContextFactoryWithClass): - actx_class = PyOpenCLArrayContext - force_device_scalars = False - - class PytestPytatoPyOpenCLArrayContextFactory( _PytestPytatoPyOpenCLArrayContextFactory): @@ -290,8 +283,6 @@ def actx_class(self): register_pytest_array_context_factory("meshmode.pyopencl", PytestPyOpenCLArrayContextFactory) -register_pytest_array_context_factory("meshmode.pyopencl-deprecated", - PytestPyOpenCLArrayContextFactoryWithHostScalars) register_pytest_array_context_factory("meshmode.pytato_cl", PytestPytatoPyOpenCLArrayContextFactory)