Closed ttytm closed 11 months ago
This pull request introduces changes to the CI/CD pipeline, compilation process, and platform-specific code adjustments for Apple systems. The modifications aim to enhance the project's compatibility with OpenCL libraries and Apple platforms, and to include examples in the test suite.
File | Summary |
---|---|
.github/workflows/ci.yml |
Adds a step to install opencl-headers using Homebrew and removes --skip-examples flag from test commands. |
bin/test |
Adds -d dlopencl flag to the compilation command, likely related to dynamic loading of OpenCL libraries. |
vcl/vcl.h |
Changes the preprocessor directive from #ifdef DARWIN to #ifdef __APPLE__ for better compatibility with Apple systems. |
🐇💻
In the land of code, where the shadows lie,
A rabbit hops, under the cloudless sky.
With each hop, a change is made,
In the realm of OpenCL, a foundation is laid.
Tests now run, with examples in sight,
And Apple systems bask in the new light.
So, let's celebrate this code, so fine,
For in the land of GitHub, it's pull request time! 🎉
This PR should fix opencl usage on macOS.
Now it should be possible to run the opencl examples that used to fail macos. They run locally tested on my mac machine.
But I think the example compilation via the script is false positive. E.g., on my linux main machine I can compile the opencl examples but it's not possible to run them.
I'd address a CI improvement in a separate PR.
Summary by CodeRabbit
Please note, these changes may not directly impact the user interface but contribute to the overall performance and reliability of our software.