Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 6 additions & 30 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,41 +39,17 @@ jobs:
matrix:
include:
- os: ubuntu-latest
python-version: "3.10"
python-version: "3.12"
QT_API: PySide6
with_opencl: false
#- os: ubuntu-22.04
# python-version: "3.11"
# QT_API: PyQt6
# with_opencl: true
#- os: ubuntu-22.04
# python-version: "3.13"
# QT_API: PySide6
# with_opencl: true
with_opencl: true

#- os: macos-13
# python-version: "3.12"
# QT_API: PyQt5
# with_opencl: true
- os: macos-13
python-version: "3.13"
- os: macos-latest
python-version: "3.14"
QT_API: PyQt6
with_opencl: true
#- os: macos-13
# python-version: "3.10"
# QT_API: PySide6
# with_opencl: true
with_opencl: false

#- os: windows-latest
# python-version: "3.13"
# QT_API: PyQt5
# with_opencl: false
#- os: windows-latest
# python-version: "3.10"
# QT_API: PyQt6
# with_opencl: false
- os: windows-latest
python-version: "3.12"
python-version: "3.10"
QT_API: PyQt5
with_opencl: false

Expand Down
23 changes: 17 additions & 6 deletions ci/info_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,15 @@
print("The module pyOpenCL has been imported but get_platforms failed")
else:
for p in cl_platforms:
print(" %s" % p)
for d in p.get_devices():
print(f" {d} max_workgroup_size is {d.max_work_group_size}")
print(f" {p}:")
try:
devices = p.get_devices()
except pyopencl.LogicError:
print(" ERROR: get_devices failed")
else:
for d in devices:
print(f" {d} max_workgroup_size is {d.max_work_group_size}")

try:
from silx.opencl import ocl
except Exception:
Expand All @@ -55,9 +61,14 @@
print("PyOpenCL platform as seen by silx:")
if ocl:
for p in ocl.platforms:
print(" %s:" % p)
for d in p.devices:
print(f" {d} max_workgroup_size is {d.max_work_group_size}")
print(f" {p}:")
try:
devices = p.devices
except pyopencl.LogicError:
print(" ERROR: p.devices failed")
else:
for d in devices:
print(f" {d} max_workgroup_size is {d.max_work_group_size}")


for binding_name in ("PyQt5", "PySide6", "PyQt6"):
Expand Down
Loading