Comments (2)
I'm sort of against that. ElementwiseKernel
is intended for simple things. As soon as you allocate local memory, what you're doing is no longer simple, to my mind. Specifically, workgroups are an unexposed implementation detail of ElementwiseKernel
. As soon as you want the level of control you describe, I feel like you should graduate to just a plain old kernel invocation.
Sorry,
Andreas
from pyopencl.
I see. Ok, I'm fine with that. Thanks for the advice, Andreas!
2014/1/20 Andreas Klöckner [email protected]
I'm sort of against that. ElementwiseKernel is intended for simple
things. As soon as you allocate local memory, what you're doing is no
longer simple, to my mind. Specifically, workgroups are an unexposed
implementation detail of ElementwiseKernel. As soon as you want the level
of control you describe, I feel like you should graduate to just a plain
old kernel invocation.Sorry,
Andreas—
Reply to this email directly or view it on GitHubhttps://github.com//issues/26#issuecomment-32796813
.
Dipl.-Inf. Johannes Köster
http://johanneskoester.bitbucket.org
from pyopencl.
Related Issues (20)
- Warn when using SVM whose deallocation synchronizes on different queue
- enqueue_copy does not support IMAGE2D_ARRAY HOT 4
- Possible memory leak when collecting events for profiling HOT 5
- Allow None in wait_for lists HOT 2
- Memory issue on cauculations of pyopencl.array.Array HOT 4
- Crash in test_slice on Intel CL HOT 7
- abrupt in code HOT 3
- SVM `bind_to_queue` and `unbind_queue` cannot be safely used
- Array allocation failure HOT 2
- TypeError: __class__ assignment: 'KernelWithCustomEnqueue' object layout differs from 'pyopencl._cl.Kernel' HOT 2
- New np.isscalar checks in array arithmetic break operations with unit-length arrays HOT 1
- Array: check that queues match
- 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
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.