> -----Original Message-----
> From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of
> Gerald Baier
> Sent: Sunday, June 28, 2015 9:56 PM
> To: beignet@lists.freedesktop.org
> Subject: [Beignet] thread safety and OpenMP
> 
> I'm using Beignet for image processing, where basically the image is
> subdivided into tiles which are then processed by several threads using
> OpenMP tasks. I noticed that some of the tiles are occasionally messed up. If


Using OpenMP or OpenCL?
Per OpenCL spec, opencl driver should be thread-safe, and Junyan implemented 
the multi-thread support in beignet. That is to say Beignet is thread-safe.
I am not sure whether Junyan has more comments on how to debug the issue. By 
the way, if you can provide a test case to reproduce the issue, it would be 
much helpful.

Thanks!
Ruiling
> I use only one thread everything works fine, also the same program runs as
> expected on nvidia GPUs with multiple threads. Hence the question whether
> Beignet is thread safe and how I could debug my program?
> 
> Here's my configuration:
> device name: Intel(R) HD Graphics IvyBridge M GT2 device version: OpenCL
> 1.2 beignet 1.0.3 (git-9e0ca6f)
> 
> Best regards,
> Gerald
> 
> _______________________________________________
> Beignet mailing list
> Beignet@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
_______________________________________________
Beignet mailing list
Beignet@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to