diff options
author | Junyan He <junyan.he@linux.intel.com> | 2013-11-08 00:58:00 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2013-11-08 13:10:50 +0800 |
commit | a4c180730d072e3178f63a1f6b8dc6d4a402ecc3 (patch) | |
tree | 27d4bb9fe6f3326adab68200d6131ffbd5857aeb /utests | |
parent | 8d693257caca457eace1bd235c14e615b1e46e89 (diff) |
Move the gpgpu struct from cl_command_queue to thread specific context
We find some cases will use multi-threads to run on the same queue,
executing the same kernel. This will cause the gpgpu struct which
is very important for GPU context setting be destroyed because we
do not implement any sync protect on it now.
Move the gpgpu struct into thread specific space will fix this problem
because the lib_drm will do the GPU command serialization for us.
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Reviewed-by: "Zou, Nanhai" <nanhai.zou@intel.com>
Diffstat (limited to 'utests')
-rw-r--r-- | utests/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utests/CMakeLists.txt b/utests/CMakeLists.txt index c87cba8e..5e0bc194 100644 --- a/utests/CMakeLists.txt +++ b/utests/CMakeLists.txt @@ -53,7 +53,7 @@ set (utests_sources compiler_if_else.cpp compiler_integer_division.cpp compiler_integer_remainder.cpp - compiler_insert_vector.cpp + compiler_insert_vector.cpp compiler_lower_return0.cpp compiler_lower_return1.cpp compiler_lower_return2.cpp |