Comments (5)
Can you please give more details, e.g. expected vs. actual results.
Also, about the work-group size: VC4CL only asserts that the local size divides the global size and is at most 12. So if the global-size is a power of two, the local size needs to be too. Any other restriction may be applied by pyopencl.
from vc4c.
I just tested with a fresh code pull. The assignment is still an issue.
Here's the minimal kernel to reproduce:
__kernel void sum(__global float *c)
{
int gid = get_global_id(0);
c[gid] = 1.f;
}
Expected result: array of [1.0, 1.0, 1.0, 1.0, 1.0, 1.0... ]
Actual result: array of [1.0, 0.0, 0.0, 0.0, 0.0, 0.0... ]
from vc4c.
I fixed some host-side issues regarding this, can you re-test?
from vc4c.
I can confirm this is now fixed. :-)
from vc4c.
Very good:)
from vc4c.
Related Issues (20)
- Segmentation fault with uchar16 and `-O3`
- Generating invalid code about vector rotation. HOT 3
- Running Tensorflow model via TVM on OpenCL HOT 6
- Combine DMA loads HOT 6
- Compilation Failure on Arch Linux & distcc HOT 15
- ‘LOGGER’ is not a member of ‘logging’ HOT 2
- cpack -G DEB "error" HOT 1
- Build fails on clean Pi HOT 11
- Compilation Error: Normalizer: Lowering copy with more than 1 entry is not yet implemented HOT 3
- many errors linking in vc4clStdLib HOT 6
- Compile failure with Clang/LLVM 11 HOT 2
- compile failure with clang6.0 llvm-6.0 HOT 8
- Build fail on Raspbian 10 HOT 2
- c++: fatal error: Killed signal terminated program cc1plus HOT 3
- Build Error HOT 4
- Compilation error HOT 5
- Compilation error
- VC4C build error in the current branch HOT 1
- RPI 3A+ VC4C Build error HOT 8
- VC4C build error (make compile error) 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 vc4c.