From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 70891] New: CL_INVALID_BUILD_OPTIONS results in CL_INVALID_DEVICE when asking for build log
Date: Sat, 26 Oct 2013 12:18:29 +0000 [thread overview]
Message-ID: <bug-70891-502@http.bugs.freedesktop.org/> (raw)
[-- 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
next reply other threads:[~2013-10-26 12:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-26 12:18 bugzilla-daemon [this message]
2013-10-26 17:59 ` [Bug 70891] CL_INVALID_BUILD_OPTIONS results in CL_INVALID_DEVICE when asking for build log bugzilla-daemon
2013-10-26 18:00 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-70891-502@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).