* [Bug 70891] New: CL_INVALID_BUILD_OPTIONS results in CL_INVALID_DEVICE when asking for build log
@ 2013-10-26 12:18 bugzilla-daemon
2013-10-26 17:59 ` [Bug 70891] " bugzilla-daemon
2013-10-26 18:00 ` bugzilla-daemon
0 siblings, 2 replies; 3+ messages in thread
From: bugzilla-daemon @ 2013-10-26 12:18 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1407 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=70891
Priority: medium
Bug ID: 70891
Assignee: dri-devel@lists.freedesktop.org
Summary: CL_INVALID_BUILD_OPTIONS results in CL_INVALID_DEVICE
when asking for build log
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: brunojimen@gmail.com
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa
When you use an invalid option to build a program, you get the
CL_INVALID_BUILD_OPTIONS error, but somehow it also makes the device used for
the build invalid. So if you after that asks for the build log with
clGetProgramBuildInfo you get also a CL_INVALID_DEVICE.
Way to reproduce this bug:
1- Clone tstellard's repo of opencl-examples:
http://cgit.freedesktop.org/~tstellar/opencl-example/
2- Modify hello-world.c at line 112 to some invalid options.
3- Compile and run it, it fails at the clGetPrograBuildInfo some lines below.
Expected output:
Maybe an empty log and a CL_INVALID_BUILD_OPTIONS error.
This bug may make difficult to track problems because one may think that the
device is wrong, when all that has happened is that he have used wrong build
options.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2790 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug 70891] CL_INVALID_BUILD_OPTIONS results in CL_INVALID_DEVICE when asking for build log
2013-10-26 12:18 [Bug 70891] New: CL_INVALID_BUILD_OPTIONS results in CL_INVALID_DEVICE when asking for build log bugzilla-daemon
@ 2013-10-26 17:59 ` bugzilla-daemon
2013-10-26 18:00 ` bugzilla-daemon
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2013-10-26 17:59 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 378 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=70891
--- Comment #1 from Francisco Jerez <currojerez@riseup.net> ---
Created attachment 88156
--> https://bugs.freedesktop.org/attachment.cgi?id=88156&action=edit
clover_get_program_build_info_error_check.patch
The attached patch should help.
Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1485 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug 70891] CL_INVALID_BUILD_OPTIONS results in CL_INVALID_DEVICE when asking for build log
2013-10-26 12:18 [Bug 70891] New: CL_INVALID_BUILD_OPTIONS results in CL_INVALID_DEVICE when asking for build log bugzilla-daemon
2013-10-26 17:59 ` [Bug 70891] " bugzilla-daemon
@ 2013-10-26 18:00 ` bugzilla-daemon
1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2013-10-26 18:00 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 431 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=70891
Francisco Jerez <currojerez@riseup.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|dri-devel@lists.freedesktop |currojerez@riseup.net
|.org |
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1127 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-10-26 18:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-26 12:18 [Bug 70891] New: CL_INVALID_BUILD_OPTIONS results in CL_INVALID_DEVICE when asking for build log bugzilla-daemon
2013-10-26 17:59 ` [Bug 70891] " bugzilla-daemon
2013-10-26 18:00 ` bugzilla-daemon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).