diff --git a/examples/python/hello-loopy.py b/examples/python/hello-loopy.py index 6fa9b5fd30b350a07e2d1d27fa36c930c9afb892..9098c544490035dd19b960422d1abbb7a5210b68 100644 --- a/examples/python/hello-loopy.py +++ b/examples/python/hello-loopy.py @@ -2,7 +2,7 @@ import numpy as np import loopy as lp import pyopencl as cl import pyopencl.array -from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_1 +from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2 # setup # ----- diff --git a/loopy/kernel/creation.py b/loopy/kernel/creation.py index cd7c4fb224835ddc777a54fdbd9007ff80cc25a5..583f7e7bf2b211e07aa29064ca9928c92f95f3c5 100644 --- a/loopy/kernel/creation.py +++ b/loopy/kernel/creation.py @@ -1925,7 +1925,7 @@ def make_kernel(domains, instructions, kernel_data=["..."], **kwargs): To set the kernel version for all :mod:`loopy` kernels in a (Python) source file, you may simply say:: - from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_1 + from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2 If *lang_version* is not explicitly given, that version value will be used. diff --git a/loopy/version.py b/loopy/version.py index c731a1b1d17922ce8c36d6c142e44a5182aa591a..2f5006be32999362b87e0a17ec90337137463262 100644 --- a/loopy/version.py +++ b/loopy/version.py @@ -97,7 +97,7 @@ will (indefinitely) default to language version 2017.2.1. If passing a language version to :func:`make_kernel` is impractical, you may also import one of the ``LOOPY_USE_LANGUAGE_VERSION_...`` symbols given below using:: - from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_1 + from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2 in the global namespace of the function calling :func:`make_kernel`. If *lang_version* in that call is not explicitly given, this value will be used. diff --git a/test/test_apps.py b/test/test_apps.py index 279ea4d4a9fdd2198872278cae730d9ef9b92548..ee3d4ff442aef8f65f9589d673473b39a4ced1f7 100644 --- a/test/test_apps.py +++ b/test/test_apps.py @@ -49,7 +49,7 @@ __all__ = [ ] -from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_1 # noqa: F401 +from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2 # noqa: F401 # {{{ convolutions diff --git a/test/test_c_execution.py b/test/test_c_execution.py index 01a2cb94f1434fd838c582a20be72ae88bfdf371..c355893e4c08f405c6a09cca43849489c145bc4d 100644 --- a/test/test_c_execution.py +++ b/test/test_c_execution.py @@ -40,7 +40,7 @@ else: faulthandler.enable() -from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_1 # noqa +from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2 # noqa def test_c_target(): diff --git a/test/test_dg.py b/test/test_dg.py index c8623f78d3ae6220c0e06eb240a4a527b9c48d34..8de742f27b40f4fd1c79abf001598cd1191d9a9d 100644 --- a/test/test_dg.py +++ b/test/test_dg.py @@ -34,7 +34,7 @@ from pyopencl.tools import ( # noqa pytest_generate_tests_for_pyopencl as pytest_generate_tests) -from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_1 # noqa +from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2 # noqa def test_dg_volume(ctx_factory): diff --git a/test/test_diff.py b/test/test_diff.py index 054d81f52f4931d8d401667a3eab3e963ce1c458..b735ab17a716c84bfa52df7f73476b4c575cda0f 100644 --- a/test/test_diff.py +++ b/test/test_diff.py @@ -48,7 +48,7 @@ __all__ = [ ] -from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_1 # noqa +from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2 # noqa def test_diff(ctx_factory): diff --git a/test/test_domain.py b/test/test_domain.py index 20614d510134e2938624a367148d0fe8ade93b1e..ebfde850907d68bebf06076fbf1c87d8bb093f71 100644 --- a/test/test_domain.py +++ b/test/test_domain.py @@ -52,7 +52,7 @@ __all__ = [ ] -from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_1 # noqa +from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2 # noqa def test_assume(ctx_factory): diff --git a/test/test_linalg.py b/test/test_linalg.py index 7db6c390f074fc6940f1b6a121cdd3d75bd3002d..093fcbf243a66c05070828e5f5c9b7409f610560 100644 --- a/test/test_linalg.py +++ b/test/test_linalg.py @@ -62,7 +62,7 @@ def check_float4(result, ref_result): ref_result[comp], result[comp], rtol=1e-3, atol=1e-3), None -from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_1 # noqa +from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2 # noqa def test_axpy(ctx_factory): diff --git a/test/test_loopy.py b/test/test_loopy.py index ef1f491d2a5e4d3fb724a69bd9c833adb6f74dcb..7a6b8c8a6b21bc30f5f0146b2c8b2cb78c57f5b4 100644 --- a/test/test_loopy.py +++ b/test/test_loopy.py @@ -52,7 +52,7 @@ __all__ = [ ] -from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_1 # noqa +from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2 # noqa def test_globals_decl_once_with_multi_subprogram(ctx_factory): diff --git a/test/test_misc.py b/test/test_misc.py index c67c664055eae5a50f3487227c46331d6b4708a9..05df0317a6a39823dc8ac0c6a51d992336bb81d1 100644 --- a/test/test_misc.py +++ b/test/test_misc.py @@ -32,7 +32,7 @@ import logging logger = logging.getLogger(__name__) -from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_1 # noqa +from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2 # noqa def test_compute_sccs(): diff --git a/test/test_nbody.py b/test/test_nbody.py index d1a708f723794eacd4807e159cfe23b59cacaa59..5b36ed4163c650317d8656883eeda599a3c21faa 100644 --- a/test/test_nbody.py +++ b/test/test_nbody.py @@ -34,7 +34,7 @@ import logging logger = logging.getLogger(__name__) -from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_1 # noqa +from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2 # noqa def test_nbody(ctx_factory): diff --git a/test/test_numa_diff.py b/test/test_numa_diff.py index 7479b849b3149b0b7095f1328ad5576d6f39fbde..be07b6c3132af1b2d0546ef8ffcae828e8f1fec9 100644 --- a/test/test_numa_diff.py +++ b/test/test_numa_diff.py @@ -44,7 +44,7 @@ __all__ = [ ] -from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_1 # noqa +from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2 # noqa @pytest.mark.parametrize("Nq", [7]) diff --git a/test/test_reduction.py b/test/test_reduction.py index 866ae9f588cb149312307e771fffc9010ea1ead8..81de627d8da82148c722719ed21561d544984409 100644 --- a/test/test_reduction.py +++ b/test/test_reduction.py @@ -49,7 +49,7 @@ __all__ = [ ] -from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_1 # noqa +from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2 # noqa def test_nonsense_reduction(ctx_factory): diff --git a/test/test_scan.py b/test/test_scan.py index c45afd0d6ecad2ddf0d07a358ad2a55620f9d1d0..505967523af6865e6f83d14d21ae2d7388a680d3 100644 --- a/test/test_scan.py +++ b/test/test_scan.py @@ -56,7 +56,7 @@ __all__ = [ # - scan(a) + scan(b) # - test for badly tagged inames -from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_1 # noqa +from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2 # noqa @pytest.mark.parametrize("n", [1, 2, 3, 16]) diff --git a/test/test_sem_reagan.py b/test/test_sem_reagan.py index 450ddeba9bafe3c522a75df6d766a041ec6dd956..e724a65dfb6d370996e7457dcfc3a2d361bbc12e 100644 --- a/test/test_sem_reagan.py +++ b/test/test_sem_reagan.py @@ -31,7 +31,7 @@ from pyopencl.tools import ( # noqa pytest_generate_tests_for_pyopencl as pytest_generate_tests) -from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_1 # noqa +from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2 # noqa def test_tim2d(ctx_factory): diff --git a/test/test_target.py b/test/test_target.py index 89d72c0ac53d69a0b925f9ac448875886dd0f318..eb94bdc814dde96e17bdf8524ad9671dcaf34dd9 100644 --- a/test/test_target.py +++ b/test/test_target.py @@ -52,7 +52,7 @@ __all__ = [ ] -from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_1 # noqa +from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2 # noqa def test_ispc_target(occa_mode=False): diff --git a/test/test_transform.py b/test/test_transform.py index 2f98fe34d20bdd07a0af40ae18402aa26b1165d5..210984512f5a5e4077530d805abf19d1387c6c1a 100644 --- a/test/test_transform.py +++ b/test/test_transform.py @@ -49,7 +49,7 @@ __all__ = [ ] -from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_1 # noqa +from loopy.version import LOOPY_USE_LANGUAGE_VERSION_2018_2 # noqa def test_chunk_iname(ctx_factory):