summaryrefslogtreecommitdiff
path: root/src/cl_enqueue.h
diff options
context:
space:
mode:
authorJunyan He <junyan.he@linux.intel.com>2014-06-11 09:33:36 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-06-13 17:20:25 +0800
commit7f6a3d69473d60147eb7d24dba4409e34d20b233 (patch)
tree103c8ef08ea740aa77980cb86ba7689921854215 /src/cl_enqueue.h
parenta93733abb4ed1c913ca2acb2d35532bf80846941 (diff)
Implement the clEnqueueMigrateMemObjects API
So far, we just support 1 device and no subdevices. So all the command queues should belong to the small context. There is no need to migrate the mem objects from one subcontext to another by now. We just do the checks and fill the event. Signed-off-by: Junyan He <junyan.he@linux.intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'src/cl_enqueue.h')
-rw-r--r--src/cl_enqueue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cl_enqueue.h b/src/cl_enqueue.h
index 1960cc27..65276027 100644
--- a/src/cl_enqueue.h
+++ b/src/cl_enqueue.h
@@ -43,6 +43,7 @@ typedef enum {
EnqueueMarker,
EnqueueBarrier,
EnqueueFillBuffer,
+ EnqueueMigrateMemObj,
EnqueueInvalid
} enqueue_type;