Skip to content

PyOpenCL version mismatch and kernel issues on different machines #842

@DarvinShehu

Description

@DarvinShehu

Hi,
I’d like to ask for some guidance regarding an issue we’re facing with PyOpenCL when using the mdt Python package for brain imaging processing.

The package relies on PyOpenCL for computation. However, we’re observing inconsistent behavior when running the same script on two different machines, even though we’ve tried to align the software environments.

Here are the two setups:

Machine A (working, but slow):

OS: Fedora 39

CPU: Intel Xeon(R) E5-2650

GPU: NVIDIA Quadro P5000

Python: 3.7.1

OpenCL: 1.2

PyOpenCL: 2022.2.4

Machine B (hanging during execution):

OS: Oracle Linux 9.5

CPU: Intel Xeon(R) Silver 4116

GPU: NVIDIA GeForce RTX 3090

Python: 3.7.1

OpenCL: 1.2

PyOpenCL: 2022.2.4

On Machine A, everything runs correctly, though slowly—likely due to the older GPU. On Machine B, the process hangs at certain points.

Our current hypothesis is that the problem may be related to the older PyOpenCL version, which might not be fully compatible or optimized for newer hardware (such as the RTX 3090). We’re wondering:

Could this be caused by an incompatibility between the old PyOpenCL version and the newer GPU/kernels?

We’d really appreciate any insight or suggestions about what might be causing this issue.

Thank you in advance for your support!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions