summaryrefslogtreecommitdiff
path: root/src/cl_command_queue.h
diff options
context:
space:
mode:
authorBenjamin Segovia <segovia.benjamin@gmail.com>2012-03-29 17:44:38 +0000
committerKeith Packard <keithp@keithp.com>2012-08-10 16:15:55 -0700
commitd034661c63b94fa8c260ab67c4474fd08a54f7f1 (patch)
tree807a6c01a3ab5f91748e03d94cb2591b31717a3a /src/cl_command_queue.h
parent0ae66a4b425602d1a1a1c04687e0b7c8deae3577 (diff)
Made the structure naming more consistent
Diffstat (limited to 'src/cl_command_queue.h')
-rw-r--r--src/cl_command_queue.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/cl_command_queue.h b/src/cl_command_queue.h
index f03e61cc..f3e1ebf3 100644
--- a/src/cl_command_queue.h
+++ b/src/cl_command_queue.h
@@ -29,14 +29,14 @@ struct intel_gpgpu;
/* Basically, this is a (kind-of) batch buffer */
struct _cl_command_queue {
- uint64_t magic; /* To identify it as a command queue */
- volatile int ref_n; /* We reference count this object */
- cl_context ctx; /* Its parent context */
- cl_command_queue prev, next; /* We chain the command queues together */
- cl_gpgpu *gpgpu; /* Setup all GEN commands */
- cl_mem perf; /* Where to put the perf counters */
- cl_mem fulsim_out; /* Fulsim will output this buffer */
- cl_buffer *last_batch; /* To synchronize using clFinish */
+ uint64_t magic; /* To identify it as a command queue */
+ volatile int ref_n; /* We reference count this object */
+ cl_context ctx; /* Its parent context */
+ cl_command_queue prev, next; /* We chain the command queues together */
+ cl_gpgpu gpgpu; /* Setup all GEN commands */
+ cl_mem perf; /* Where to put the perf counters */
+ cl_mem fulsim_out; /* Fulsim will output this buffer */
+ cl_buffer last_batch; /* To synchronize using clFinish */
};
/* Allocate and initialize a new command queue. Also insert it in the list of
@@ -70,9 +70,9 @@ extern cl_int cl_command_queue_finish(cl_command_queue);
extern cl_int cl_command_queue_bind_surface(cl_command_queue queue,
cl_kernel k,
char *curbe,
- cl_buffer **local,
- cl_buffer **priv,
- cl_buffer **scratch,
+ cl_buffer *local,
+ cl_buffer *priv,
+ cl_buffer *scratch,
uint32_t local_sz);
#endif /* __CL_COMMAND_QUEUE_H__ */