projects
/
contrib
/
beignet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62c9b32
)
Kept on experimenting with c++ backend
author
Benjamin Segovia
<segovia.benjamin@gmail.com>
Mon, 9 Apr 2012 10:58:55 +0000
(
03:58
-0700)
committer
Keith Packard
<keithp@keithp.com>
Fri, 10 Aug 2012 23:16:11 +0000
(16:16 -0700)
src/cl_command_queue.c
patch
|
blob
|
history
diff --git
a/src/cl_command_queue.c
b/src/cl_command_queue.c
index
06eada9
..
82d483a
100644
(file)
--- a/
src/cl_command_queue.c
+++ b/
src/cl_command_queue.c
@@
-107,7
+107,7
@@
cl_command_queue_bind_surface(cl_command_queue queue,
{
/* Bind all user buffers (given by clSetKernelArg) */
uint32_t i;
- for (i = 0; i < k->arg_n; ++
k
) {
+ for (i = 0; i < k->arg_n; ++
i
) {
uint32_t offset; // location of the address in the curbe
if (gbe_kernel_get_arg_type(k->opaque, i) != GBE_ARG_GLOBAL_PTR &&
gbe_kernel_get_arg_type(k->opaque, i) != GBE_ARG_CONSTANT_PTR)