Implement the clEnqueueMigrateMemObjects API
authorJunyan He <junyan.he@linux.intel.com>
Wed, 11 Jun 2014 01:33:36 +0000 (09:33 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Fri, 13 Jun 2014 09:20:25 +0000 (17:20 +0800)
commit7f6a3d69473d60147eb7d24dba4409e34d20b233
tree103c8ef08ea740aa77980cb86ba7689921854215
parenta93733abb4ed1c913ca2acb2d35532bf80846941
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>
src/cl_api.c
src/cl_enqueue.c
src/cl_enqueue.h
src/cl_khr_icd.c