mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-20 14:39:01 +00:00
315998511abe3959be21962a696911b43d4d5f59
ThreadSanitizer detects some data race in ThreadPool. They stem from inappropriate usage of volatile which are replaced with std::atomic variables in this patch. This patch focuses on data races identified while running the math_brute_force component. For example, it doesn't fully remove usage of ThreadPool_AtomicAdd from other components of the CTS. Furthermore, thread leaks, most likely because threads are not joined, are not addressed. Signed-off-by: Marco Antognini <marco.antognini@arm.com>
Description
Languages
C++
84.5%
C
14.7%
CMake
0.5%
Python
0.3%