Re: [Mesa-dev] [PATCH 1/5] clover: Don't use llvm's global context

2014-06-19 Thread Francisco Jerez
Tom Stellard thomas.stell...@amd.com writes: An LLVMContext should only be accessed by a single and using the global context was causing crashes in multi-threaded environments. Now we use a separate context for each compile. For this patch: Reviewed-by: Francisco Jerez curroje...@riseup.net

[Mesa-dev] [PATCH 1/5] clover: Don't use llvm's global context

2014-06-17 Thread Tom Stellard
An LLVMContext should only be accessed by a single and using the global context was causing crashes in multi-threaded environments. Now we use a separate context for each compile. --- src/gallium/state_trackers/clover/llvm/invocation.cpp | 15 +-- 1 file changed, 9 insertions(+), 6