On 07/17/2015 09:12 AM, Yang, Rong R wrote:
The patch has push to master, you can try the
master(10e301e1d1a0622864fb02729eaa9f4f2b29f6ad).
That did the trick. Thanks so much, everything is working fine.
Best regards,
Gerald
-----Original Message-----
From: Beignet [mailto:[email protected]] On Behalf Of
Zhigang Gong
Sent: Thursday, July 16, 2015 20:53
To: 'Gerald Baier'; He, Junyan; Song, Ruiling; [email protected]
Subject: Re: [Beignet] thread safety and OpenMP
Thanks for the testing, but my latest patch is still under review, could you
apply it manually and try again?
The patch is at http://lists.freedesktop.org/archives/beignet/2015-
July/005871.html.
Thanks,
Zhigang Gong.
-----Original Message-----
From: Beignet [mailto:[email protected]] On Behalf
Of Gerald Baier
Sent: Thursday, July 16, 2015 4:49 PM
To: Zhigang Gong; 'Gerald Baier'; 'He, Junyan'; 'Song, Ruiling';
[email protected]
Subject: Re: [Beignet] thread safety and OpenMP
Hi Zhigang,
I tried my program with the latest git commit
(55c85381ceecbb12d4bf8135251c8a3fca4617c0) but the problem still
persists.
Anyway, I'll hack together a minimum example program and submit a bug
report. Unfortunately I'm currently swamped with work, so this might
take a while.
Thanks and best regards,
Gerald
On 07/16/2015 08:11 AM, Zhigang Gong wrote:
Gerald,
Unfortunately, beignet does have some thread-safe bugs, and I
recently found and fixed some of them Not sure whether these fixes
are enough for
you, but you can still have a try and let us know the result.
If you can still reproduce the problem, it may be helpful to file a
bug at bugzilla and describe how to reproduce the issue. The
bugzilla link is as
below:
https://bugs.freedesktop.org/enter_bug.cgi?product=Beignet
Thanks,
Zhigang Gong.
-----Original Message-----
From: Beignet [mailto:[email protected]] On
Behalf Of Gerald Baier
Sent: Thursday, July 2, 2015 4:02 AM
To: He, Junyan; Song, Ruiling; Gerald Baier;
[email protected]
Subject: Re: [Beignet] thread safety and OpenMP
On 07/01/2015 07:28 AM, He, Junyan wrote:
So far as we know, beignet is thread safe.
Every thead has its own command buffer and do not have
relationship with each others.
Do you use subbuffer to divide the image?
No, as far as I can tell I don't use anything special or advanced.
If you can provide some source code or test case, it may help a lot.
I'll try to hack together a minimal example over the weekend.
Thanks already for your feedback. Cheers.
-----Original Message-----
From: Song, Ruiling
Sent: Wednesday, July 01, 2015 10:40 AM
To: Gerald Baier; [email protected]
Cc: He, Junyan
Subject: RE: [Beignet] thread safety and OpenMP
-----Original Message-----
From: Beignet [mailto:[email protected]] On
Behalf Of Gerald Baier
Sent: Sunday, June 28, 2015 9:56 PM
To: [email protected]
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
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet
_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet
_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet
_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet
_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet