Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-06-14 03:31:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-14 03:31:47 +0400
commitbde7e6c96b9e180b293ee6e49ab813a30fac0635 (patch)
treecf9f09aa0b3bb0528553546674269f0e5e96bd93 /source/blender/compositor/intern/COM_OpenCLDevice.h
parent906b9e0584b93094b1c45514fbf6fd8c62e6d015 (diff)
stule cleanup: node headers
Diffstat (limited to 'source/blender/compositor/intern/COM_OpenCLDevice.h')
-rw-r--r--source/blender/compositor/intern/COM_OpenCLDevice.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/source/blender/compositor/intern/COM_OpenCLDevice.h b/source/blender/compositor/intern/COM_OpenCLDevice.h
index f61c555558d..75c326eda23 100644
--- a/source/blender/compositor/intern/COM_OpenCLDevice.h
+++ b/source/blender/compositor/intern/COM_OpenCLDevice.h
@@ -31,57 +31,57 @@ class OpenCLDevice;
/**
- * @brief device representing an GPU OpenCL device.
- * an instance of this class represents a single cl_device
- */
-class OpenCLDevice: public Device {
+ * @brief device representing an GPU OpenCL device.
+ * an instance of this class represents a single cl_device
+ */
+class OpenCLDevice : public Device {
private:
/**
- *@brief opencl context
- */
+ *@brief opencl context
+ */
cl_context context;
/**
- *@brief opencl device
- */
+ *@brief opencl device
+ */
cl_device_id device;
/**
- *@brief opencl program
- */
+ *@brief opencl program
+ */
cl_program program;
/**
- *@brief opencl command queue
- */
+ *@brief opencl command queue
+ */
cl_command_queue queue;
public:
/**
- *@brief constructor with opencl device
- *@param context
- *@param device
- */
+ *@brief constructor with opencl device
+ *@param context
+ *@param device
+ */
OpenCLDevice(cl_context context, cl_device_id device, cl_program program);
/**
- * @brief initialize the device
- * During initialization the OpenCL cl_command_queue is created
- * the command queue is stored in the field queue.
- * @see queue
- */
+ * @brief initialize the device
+ * During initialization the OpenCL cl_command_queue is created
+ * the command queue is stored in the field queue.
+ * @see queue
+ */
bool initialize();
/**
- * @brief deinitialize the device
- * During deintiialization the command queue is cleared
- */
+ * @brief deinitialize the device
+ * During deintiialization the command queue is cleared
+ */
void deinitialize();
/**
- * @brief execute a WorkPackage
- * @param work the WorkPackage to execute
- */
+ * @brief execute a WorkPackage
+ * @param work the WorkPackage to execute
+ */
void execute(WorkPackage *work);
};