diff --git a/test/test_wrapper.py b/test/test_wrapper.py index 19087c7da8b698c8019f27a0399ff1b873bd955c..9ec065f77becb9e4d7646106242562d0b689873a 100644 --- a/test/test_wrapper.py +++ b/test/test_wrapper.py @@ -583,6 +583,10 @@ def test_mempool_2(ctx_factory): def test_mempool_32bit_issues(): + import struct + if struct.calcsize("@P") * 8 < 64: + pytest.skip("only relevant on 64-bit systems") + # https://github.com/inducer/pycuda/issues/282 from pyopencl._cl import _TestMemoryPool pool = _TestMemoryPool()