[Beignet] [PATCH 3/9] Delete all the verbose locks and use list to store CL objects.

2016-09-21 Thread junyan . he
From: Junyan He We use context's lock when we add and delete cl objects. Every cl object should use it's own lock to protect itself. We also add some helper functions to ease the adding and removing operations. Signed-off-by: Junyan He --- src/cl_accelerator_intel.c | 8 +-- src/cl_command_q

[Beignet] [PATCH 3/9] Delete all the verbose locks and use list to store CL objects.

2016-08-02 Thread junyan . he
From: Junyan He We use context's lock when we add and delete cl objects. Every cl object should use it's own lock to protect itself. We also add some helper functions to ease the adding and removing operations. Signed-off-by: Junyan He --- src/cl_accelerator_intel.c | 8 +-- src/cl_command_q