[Beignet] warning, curbe size exceed limitation.

Yang, Rong R rong.r.yang at intel.com
Mon Feb 5 08:02:47 UTC 2018


Curbe is GEN's hardware resource, used to send kernel's constant information to hardware, such as kernel arguments.
__gen_gpgpu_get_curbe_size is add by commit 43138b8d, it will return the used curbe size of this kernel.
The hardware's curbe size has restriction, if kernel used curbe size larger then hardware's restriction, beignet will print this warning and trunk the used curbe size.

Thanks,
Yang Rong
From: Vaughan, Thomas E [mailto:tevaugha at ball.com]
Sent: Wednesday, January 31, 2018 11:59 PM
To: Yang, Rong R <rong.r.yang at intel.com>; beignet at lists.freedesktop.org
Subject: RE: warning, curbe size exceed limitation.

Thanks for replying!

I'm not writing any OpenCL code directly.  I'm using the ArrayFire C++ library, which JIT generates OpenCL and compiles it when the process runs.  That is, I have no OpenCL source code, and I don't write any C or C++ code that interacts with kernels directly or even knows what they are.

My unit tests pass, though, and so it seems that the calculations are being done correctly.

I wonder how ArrayFire decides on sizes of chunks of work, and I wonder how much of a performance hit I'm taking on Bay Trail because of this.

Can you explain what "curbe" stands for and what's really going on in __gen_gpgpu_get_curbe_size()?

--
Thomas E. Vaughan
720 201 7058 (cell)

From: Yang, Rong R [mailto:rong.r.yang at intel.com]
Sent: January 31, 2018 02:08
To: Vaughan, Thomas E <tevaugha at ball.com<mailto:tevaugha at ball.com>>; beignet at lists.freedesktop.org<mailto:beignet at lists.freedesktop.org>
Subject: RE: warning, curbe size exceed limitation.

Do you use this array as kernel's argument?
If the argument's size exceeds the argument buffer's size, beignet will print this warning.
And IVB's argument buffer size is larger than BayTrail.

Thanks,
Yang Rong
From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of Vaughan, Thomas E
Sent: Wednesday, January 31, 2018 2:04 AM
To: beignet at lists.freedesktop.org<mailto:beignet at lists.freedesktop.org>
Subject: [Beignet] warning, curbe size exceed limitation.

Thanks to Rebecca Palmer and to Mark Thompson for replying to my last plea for help over the weekend.

Now that I have started to get things working with the Atom GPU on Debian, I have noticed an odd message when I run some ArrayFire code that was tested on Ivy Bridge.

My application prints out "warning, curbe size exceed limitation" in various places.

For example, at one point I try to tile a 7x176 array into a 7x176x7 array, and that message is issued twice.

Does anyone have a clue about what's going on?

--
Thomas E. Vaughan
720 201 7058 (cell)

This message and any enclosures are intended only for the addressee. Please
notify the sender by email if you are not the intended recipient. If you are
not the intended recipient, you may not use, copy, disclose, or distribute this
message or its contents or enclosures to any other person and any such actions
may be unlawful. Ball reserves the right to monitor and review all messages
and enclosures sent to or from this email address.
This message and any enclosures are intended only for the addressee. Please
notify the sender by email if you are not the intended recipient. If you are
not the intended recipient, you may not use, copy, disclose, or distribute this
message or its contents or enclosures to any other person and any such actions
may be unlawful. Ball reserves the right to monitor and review all messages
and enclosures sent to or from this email address.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/beignet/attachments/20180205/08610ed9/attachment.html>


More information about the Beignet mailing list