Comments (3)
It tries to detect changed include files:
https://github.com/inducer/pyopencl/blob/master/pyopencl/cache.py#L146
It's apparently failing to do so in your case. Can you shove some print statements into this code to figure out what's going wrong?
from pyopencl.
I understand the reason! I collect my cl files in cl/
subdir of project root. So I call build
with argument "-I /home/user/opencl/cl"
, and your cache subsystem doesn't see it. So cache subsystem should care about -I
option to fix this issue.
from pyopencl.
It also does try to see -I
options. :)
It already understands ["-I/some/where"]
(note:no space!) and ["-I", "/some/where"]
. 15bc505 adds handling for your style. See if that fixes it. Repopen if not.
from pyopencl.
Related Issues (20)
- source tarball contains binary artefact _skbuild/linux-x86_64-3.11/cmake-install/pyopencl/_cl.cpython-311-x86_64-linux-gnu.so HOT 1
- test_clmath.py::test_fmod fails on i386 using pocl 3.1 built with llvm 15 HOT 2
- Disable kernel caching from within pyopencl code HOT 1
- Expose create_buffer_gc in a header HOT 4
- Binary operations with Arrays of different memory layout HOT 2
- Windows Intel CL Github CI fails HOT 2
- Fails to build with OpenCL 3.0 headers HOT 3
- UHD Graphics 600 | Calling kernel + enqueue_copy more than once, results in OUT_OF_RESOURCES error or freeze HOT 4
- Compatibility with `numpy2` HOT 3
- move away from deprecated appdirs
- `build program` times increasing with rank count on Mac when caching is enabled HOT 7
- Pocl Mac crashing again HOT 4
- `CMakeLists.txt` file missing in PyPI source dist HOT 2
- `pip install .` causes messy directory layout HOT 3
- Non-empty compiler output HOT 9
- Nanobind leak warnings HOT 9
- Kernel evaluation throws exception for SVM objects HOT 1
- pyopencl.compyte missing in pyopencl-2024.2.4.tar.gz HOT 3
- 2024.2.5 is Broken HOT 5
- Wheels built with numpy2 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyopencl.