Created
February 20, 2024 23:25
-
-
Save GaetanLepage/5cbaefd048c13626eb2eacf567809e49 to your computer and use it in GitHub Desktop.
GPU tests for `python3Packages.gpuctypes`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sourcing python-remove-tests-dir-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing python-remove-bin-bytecode-hook.sh | |
Sourcing pypa-build-hook | |
Using pypaBuildPhase | |
Sourcing python-runtime-deps-check-hook | |
Using pythonRuntimeDepsCheckHook | |
Sourcing pypa-install-hook | |
Using pypaInstallPhase | |
Sourcing python-imports-check-hook.sh | |
Using pythonImportsCheckPhase | |
Sourcing python-namespaces-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing pytest-check-hook | |
Using pytestCheckPhase | |
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
Running phase: unpackPhase | |
unpacking source archive /nix/store/6n2wdrgjmcjkw4m3lm0bnwxqv6fim1vm-source | |
source root is source | |
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/test/test_opencl.py | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
Running phase: patchPhase | |
applying patch /nix/store/3mh0vamw9hwfjz459kjmr760jp84ww4h-0001-fix-dlopen-cuda.patch | |
patching file gpuctypes/cuda.py | |
substituteStream(): WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'gpuctypes/opencl.py') | |
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } | |
Running phase: updateAutotoolsGnuConfigScriptsPhase | |
@nix { "action": "setPhase", "phase": "configurePhase" } | |
Running phase: configurePhase | |
no configure script, doing nothing | |
@nix { "action": "setPhase", "phase": "buildPhase" } | |
Running phase: buildPhase | |
Executing pypaBuildPhase | |
Creating a wheel... | |
[1m* Getting build dependencies for wheel...[0m | |
running egg_info | |
creating gpuctypes.egg-info | |
writing gpuctypes.egg-info/PKG-INFO | |
writing dependency_links to gpuctypes.egg-info/dependency_links.txt | |
writing top-level names to gpuctypes.egg-info/top_level.txt | |
writing manifest file 'gpuctypes.egg-info/SOURCES.txt' | |
reading manifest file 'gpuctypes.egg-info/SOURCES.txt' | |
adding license file 'LICENSE' | |
writing manifest file 'gpuctypes.egg-info/SOURCES.txt' | |
[1m* Building wheel...[0m | |
running bdist_wheel | |
running build | |
running build_py | |
creating build | |
creating build/lib | |
creating build/lib/gpuctypes | |
copying gpuctypes/opencl.py -> build/lib/gpuctypes | |
copying gpuctypes/cuda.py -> build/lib/gpuctypes | |
copying gpuctypes/comgr.py -> build/lib/gpuctypes | |
copying gpuctypes/hip.py -> build/lib/gpuctypes | |
running egg_info | |
writing gpuctypes.egg-info/PKG-INFO | |
writing dependency_links to gpuctypes.egg-info/dependency_links.txt | |
writing top-level names to gpuctypes.egg-info/top_level.txt | |
reading manifest file 'gpuctypes.egg-info/SOURCES.txt' | |
adding license file 'LICENSE' | |
writing manifest file 'gpuctypes.egg-info/SOURCES.txt' | |
installing to build/bdist.linux-x86_64/wheel | |
running install | |
running install_lib | |
creating build/bdist.linux-x86_64 | |
creating build/bdist.linux-x86_64/wheel | |
creating build/bdist.linux-x86_64/wheel/gpuctypes | |
copying build/lib/gpuctypes/opencl.py -> build/bdist.linux-x86_64/wheel/gpuctypes | |
copying build/lib/gpuctypes/cuda.py -> build/bdist.linux-x86_64/wheel/gpuctypes | |
copying build/lib/gpuctypes/comgr.py -> build/bdist.linux-x86_64/wheel/gpuctypes | |
copying build/lib/gpuctypes/hip.py -> build/bdist.linux-x86_64/wheel/gpuctypes | |
running install_egg_info | |
Copying gpuctypes.egg-info to build/bdist.linux-x86_64/wheel/gpuctypes-0.3.0-py3.11.egg-info | |
running install_scripts | |
creating build/bdist.linux-x86_64/wheel/gpuctypes-0.3.0.dist-info/WHEEL | |
creating '/build/source/dist/.tmp-q5lra928/gpuctypes-0.3.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it | |
adding 'gpuctypes/comgr.py' | |
adding 'gpuctypes/cuda.py' | |
adding 'gpuctypes/hip.py' | |
adding 'gpuctypes/opencl.py' | |
adding 'gpuctypes-0.3.0.dist-info/LICENSE' | |
adding 'gpuctypes-0.3.0.dist-info/METADATA' | |
adding 'gpuctypes-0.3.0.dist-info/WHEEL' | |
adding 'gpuctypes-0.3.0.dist-info/top_level.txt' | |
adding 'gpuctypes-0.3.0.dist-info/RECORD' | |
removing build/bdist.linux-x86_64/wheel | |
[1m[92mSuccessfully built [4mgpuctypes-0.3.0-py3-none-any.whl[0m[1m[92m[0m | |
Finished creating a wheel... | |
Finished executing pypaBuildPhase | |
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" } | |
Running phase: pythonRuntimeDepsCheckHook | |
Executing pythonRuntimeDepsCheck | |
Checking runtime dependencies for gpuctypes-0.3.0-py3-none-any.whl | |
Finished executing pythonRuntimeDepsCheck | |
@nix { "action": "setPhase", "phase": "installPhase" } | |
Running phase: installPhase | |
Executing pypaInstallPhase | |
Successfully installed gpuctypes-0.3.0-py3-none-any.whl | |
Finished executing pypaInstallPhase | |
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" } | |
Running phase: pythonOutputDistPhase | |
Executing pythonOutputDistPhase | |
Finished executing pythonOutputDistPhase | |
@nix { "action": "setPhase", "phase": "fixupPhase" } | |
Running phase: fixupPhase | |
shrinking RPATHs of ELF executables and libraries in /nix/store/y7nlnmn2cy9lii9rpwz5f7yn1pqjsnm8-python3.11-gpuctypes-0.3.0 | |
checking for references to /build/ in /nix/store/y7nlnmn2cy9lii9rpwz5f7yn1pqjsnm8-python3.11-gpuctypes-0.3.0... | |
patching script interpreter paths in /nix/store/y7nlnmn2cy9lii9rpwz5f7yn1pqjsnm8-python3.11-gpuctypes-0.3.0 | |
stripping (with command strip and flags -S -p) in /nix/store/y7nlnmn2cy9lii9rpwz5f7yn1pqjsnm8-python3.11-gpuctypes-0.3.0/lib | |
shrinking RPATHs of ELF executables and libraries in /nix/store/35j5va336fivp38r2pkqclqwf0l9bsrx-python3.11-gpuctypes-0.3.0-dist | |
checking for references to /build/ in /nix/store/35j5va336fivp38r2pkqclqwf0l9bsrx-python3.11-gpuctypes-0.3.0-dist... | |
patching script interpreter paths in /nix/store/35j5va336fivp38r2pkqclqwf0l9bsrx-python3.11-gpuctypes-0.3.0-dist | |
Executing pythonRemoveTestsDir | |
Finished executing pythonRemoveTestsDir | |
@nix { "action": "setPhase", "phase": "installCheckPhase" } | |
Running phase: installCheckPhase | |
no Makefile or custom installCheckPhase, doing nothing | |
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } | |
Running phase: pythonCatchConflictsPhase | |
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } | |
Running phase: pythonRemoveBinBytecodePhase | |
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } | |
Running phase: pythonImportsCheckPhase | |
Executing pythonImportsCheckPhase | |
Check whether the following modules can be imported: gpuctypes | |
@nix { "action": "setPhase", "phase": "pytestCheckPhase" } | |
Running phase: pytestCheckPhase | |
Executing pytestCheckPhase | |
[1m============================= test session starts ==============================[0m | |
platform linux -- Python 3.11.7, pytest-7.4.4, pluggy-1.4.0 -- /nix/store/y027d3bvlaizbri04c1bzh28hqd6lj01-python3-3.11.7/bin/python3.11 | |
cachedir: .pytest_cache | |
rootdir: /build/source | |
[1mcollecting ... [0m[1m | |
collected 5 items [0m | |
test/test_cuda.py::TestCUDA::test_compile [32mPASSED[0m[32m [ 20%][0m | |
test/test_cuda.py::TestCUDA::test_compile_fail [32mPASSED[0m[32m [ 40%][0m | |
test/test_cuda.py::TestCUDA::test_has_methods [32mPASSED[0m[32m [ 60%][0m | |
test/test_cuda.py::TestCUDADevice::test_device_count [32mPASSED[0m[32m [ 80%][0m | |
test/test_cuda.py::TestCUDADevice::test_malloc [32mPASSED[0m[32m [100%][0m | |
[32m============================== [32m[1m5 passed[0m[32m in 0.18s[0m[32m ===============================[0m | |
Finished executing pytestCheckPhase | |
@nix { "action": "setPhase", "phase": "pytestcachePhase" } | |
Running phase: pytestcachePhase | |
@nix { "action": "setPhase", "phase": "pytestRemoveBytecodePhase" } | |
Running phase: pytestRemoveBytecodePhase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sourcing python-remove-tests-dir-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing python-remove-bin-bytecode-hook.sh | |
Sourcing pypa-build-hook | |
Using pypaBuildPhase | |
Sourcing python-runtime-deps-check-hook | |
Using pythonRuntimeDepsCheckHook | |
Sourcing pypa-install-hook | |
Using pypaInstallPhase | |
Sourcing python-imports-check-hook.sh | |
Using pythonImportsCheckPhase | |
Sourcing python-namespaces-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing pytest-check-hook | |
Using pytestCheckPhase | |
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
Running phase: unpackPhase | |
unpacking source archive /nix/store/6n2wdrgjmcjkw4m3lm0bnwxqv6fim1vm-source | |
source root is source | |
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/test/test_opencl.py | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
Running phase: patchPhase | |
applying patch /nix/store/6iln6glmgpyir4y4sycmxcrahp7yrfdg-0001-fix-dlopen-cuda.patch | |
patching file gpuctypes/cuda.py | |
substituteStream(): WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. (file 'gpuctypes/opencl.py') | |
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } | |
Running phase: updateAutotoolsGnuConfigScriptsPhase | |
@nix { "action": "setPhase", "phase": "configurePhase" } | |
Running phase: configurePhase | |
no configure script, doing nothing | |
@nix { "action": "setPhase", "phase": "buildPhase" } | |
Running phase: buildPhase | |
Executing pypaBuildPhase | |
Creating a wheel... | |
[1m* Getting build dependencies for wheel...[0m | |
running egg_info | |
creating gpuctypes.egg-info | |
writing gpuctypes.egg-info/PKG-INFO | |
writing dependency_links to gpuctypes.egg-info/dependency_links.txt | |
writing top-level names to gpuctypes.egg-info/top_level.txt | |
writing manifest file 'gpuctypes.egg-info/SOURCES.txt' | |
reading manifest file 'gpuctypes.egg-info/SOURCES.txt' | |
adding license file 'LICENSE' | |
writing manifest file 'gpuctypes.egg-info/SOURCES.txt' | |
[1m* Building wheel...[0m | |
running bdist_wheel | |
running build | |
running build_py | |
creating build | |
creating build/lib | |
creating build/lib/gpuctypes | |
copying gpuctypes/opencl.py -> build/lib/gpuctypes | |
copying gpuctypes/cuda.py -> build/lib/gpuctypes | |
copying gpuctypes/comgr.py -> build/lib/gpuctypes | |
copying gpuctypes/hip.py -> build/lib/gpuctypes | |
running egg_info | |
writing gpuctypes.egg-info/PKG-INFO | |
writing dependency_links to gpuctypes.egg-info/dependency_links.txt | |
writing top-level names to gpuctypes.egg-info/top_level.txt | |
reading manifest file 'gpuctypes.egg-info/SOURCES.txt' | |
adding license file 'LICENSE' | |
writing manifest file 'gpuctypes.egg-info/SOURCES.txt' | |
installing to build/bdist.linux-x86_64/wheel | |
running install | |
running install_lib | |
creating build/bdist.linux-x86_64 | |
creating build/bdist.linux-x86_64/wheel | |
creating build/bdist.linux-x86_64/wheel/gpuctypes | |
copying build/lib/gpuctypes/opencl.py -> build/bdist.linux-x86_64/wheel/gpuctypes | |
copying build/lib/gpuctypes/cuda.py -> build/bdist.linux-x86_64/wheel/gpuctypes | |
copying build/lib/gpuctypes/comgr.py -> build/bdist.linux-x86_64/wheel/gpuctypes | |
copying build/lib/gpuctypes/hip.py -> build/bdist.linux-x86_64/wheel/gpuctypes | |
running install_egg_info | |
Copying gpuctypes.egg-info to build/bdist.linux-x86_64/wheel/gpuctypes-0.3.0-py3.11.egg-info | |
running install_scripts | |
creating build/bdist.linux-x86_64/wheel/gpuctypes-0.3.0.dist-info/WHEEL | |
creating '/build/source/dist/.tmp-c2ubl3ws/gpuctypes-0.3.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it | |
adding 'gpuctypes/comgr.py' | |
adding 'gpuctypes/cuda.py' | |
adding 'gpuctypes/hip.py' | |
adding 'gpuctypes/opencl.py' | |
adding 'gpuctypes-0.3.0.dist-info/LICENSE' | |
adding 'gpuctypes-0.3.0.dist-info/METADATA' | |
adding 'gpuctypes-0.3.0.dist-info/WHEEL' | |
adding 'gpuctypes-0.3.0.dist-info/top_level.txt' | |
adding 'gpuctypes-0.3.0.dist-info/RECORD' | |
removing build/bdist.linux-x86_64/wheel | |
[1m[92mSuccessfully built [4mgpuctypes-0.3.0-py3-none-any.whl[0m[1m[92m[0m | |
Finished creating a wheel... | |
Finished executing pypaBuildPhase | |
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" } | |
Running phase: pythonRuntimeDepsCheckHook | |
Executing pythonRuntimeDepsCheck | |
Checking runtime dependencies for gpuctypes-0.3.0-py3-none-any.whl | |
Finished executing pythonRuntimeDepsCheck | |
@nix { "action": "setPhase", "phase": "installPhase" } | |
Running phase: installPhase | |
Executing pypaInstallPhase | |
Successfully installed gpuctypes-0.3.0-py3-none-any.whl | |
Finished executing pypaInstallPhase | |
@nix { "action": "setPhase", "phase": "pythonOutputDistPhase" } | |
Running phase: pythonOutputDistPhase | |
Executing pythonOutputDistPhase | |
Finished executing pythonOutputDistPhase | |
@nix { "action": "setPhase", "phase": "fixupPhase" } | |
Running phase: fixupPhase | |
shrinking RPATHs of ELF executables and libraries in /nix/store/jnxvl8yfl6ihymrgnndjyb3i32svqahj-python3.11-gpuctypes-0.3.0 | |
checking for references to /build/ in /nix/store/jnxvl8yfl6ihymrgnndjyb3i32svqahj-python3.11-gpuctypes-0.3.0... | |
patching script interpreter paths in /nix/store/jnxvl8yfl6ihymrgnndjyb3i32svqahj-python3.11-gpuctypes-0.3.0 | |
stripping (with command strip and flags -S -p) in /nix/store/jnxvl8yfl6ihymrgnndjyb3i32svqahj-python3.11-gpuctypes-0.3.0/lib | |
shrinking RPATHs of ELF executables and libraries in /nix/store/jlpgijhjpvhnq08xximvflzgcq8z7sl8-python3.11-gpuctypes-0.3.0-dist | |
checking for references to /build/ in /nix/store/jlpgijhjpvhnq08xximvflzgcq8z7sl8-python3.11-gpuctypes-0.3.0-dist... | |
patching script interpreter paths in /nix/store/jlpgijhjpvhnq08xximvflzgcq8z7sl8-python3.11-gpuctypes-0.3.0-dist | |
Executing pythonRemoveTestsDir | |
Finished executing pythonRemoveTestsDir | |
@nix { "action": "setPhase", "phase": "installCheckPhase" } | |
Running phase: installCheckPhase | |
no Makefile or custom installCheckPhase, doing nothing | |
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } | |
Running phase: pythonCatchConflictsPhase | |
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } | |
Running phase: pythonRemoveBinBytecodePhase | |
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } | |
Running phase: pythonImportsCheckPhase | |
Executing pythonImportsCheckPhase | |
Check whether the following modules can be imported: gpuctypes | |
@nix { "action": "setPhase", "phase": "pytestCheckPhase" } | |
Running phase: pytestCheckPhase | |
Executing pytestCheckPhase | |
[1m============================= test session starts ==============================[0m | |
platform linux -- Python 3.11.7, pytest-7.4.4, pluggy-1.4.0 -- /nix/store/y027d3bvlaizbri04c1bzh28hqd6lj01-python3-3.11.7/bin/python3.11 | |
cachedir: .pytest_cache | |
rootdir: /build/source | |
[1mcollecting ... [0m[1m | |
collected 4 items [0m | |
test/test_opencl.py::TestOpenCL::test_bad_program [32mPASSED[0m[32m [ 25%][0m | |
test/test_opencl.py::TestOpenCL::test_create_program [32mPASSED[0m[32m [ 50%][0m | |
test/test_opencl.py::TestOpenCL::test_malloc [32mPASSED[0m[32m [ 75%][0m | |
test/test_opencl.py::TestOpenCL::test_run_program [32mPASSED[0m[32m [100%][0m | |
[32m============================== [32m[1m4 passed[0m[32m in 0.99s[0m[32m ===============================[0m | |
Finished executing pytestCheckPhase | |
@nix { "action": "setPhase", "phase": "pytestcachePhase" } | |
Running phase: pytestcachePhase | |
@nix { "action": "setPhase", "phase": "pytestRemoveBytecodePhase" } | |
Running phase: pytestRemoveBytecodePhase |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment