get_global_id() and get_global_size() don't for for dimindx>0
Bug #900584 reported by
Erik Schnetter
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pocl |
Fix Released
|
Critical
|
Carlos Sánchez de La Lama |
Bug Description
I'm running a 3D kernel, and access get_global_id() and friends inside the kernel. I notice that get_global_id(d) always returns 0 for d>0, while get_global_size(d) returns different values for different kernel invocations.
Does pocl support multi-dimensional kernels? I looked at the pthread device (which I'm using), and this seems to be the case.
To reproduce this, change the "#if 0" to "#if 1" in examples/
Related branches
Changed in pocl: | |
importance: | Undecided → Critical |
Changed in pocl: | |
assignee: | nobody → Carlos Sánchez de La Lama (csanchezdll) |
status: | New → Fix Committed |
To post a comment you must log in.
Ok, I guess this is working now. Closing the bug.