- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have developed a probabilistic sampling program that made use of the "lgamma" function in OpenCL. The program runs normally on most platforms, including Intel's CPU using Intel's OpenCL driver. However, on the integrated HD 4000 and HD 4400, the program fails to produce the correct values. After a little debugging, I've identified that the value of the "lgamma" function is computed incorrectly when the OpenCL program is run on HD 4000/4400. The problem exists under Windows 7, 8, and 10 (preview), using the latest graphics driver (ver. 4098, dated 1/19/2015).
It seems that the problem has been reported before:
https://software.intel.com/en-us/forums/topic/468324
I don't have HD 5000 and up for testing. So I can't say much about those parts.
Under Linux, this problem doesn't exist using the open source Beignet package. So this doesn't seem to be a hardware issue.
We would greatly appreciate a fix since this problem has prevented us from deploying our toolkit to any users with only intel HD gpus.
Thanks!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ting,
Thank you for reporting this issue: it is indeed a problem, even on HD 5200. I filed a high priority bug. Meanwhile, please use log(tgamma()) as a workaround. Sorry for the inconvenience.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, Robert! I'll use the workaround for now (which will overflow quickly though since the gamma function can produce very large results). Looking forward to a driver update.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Robert, I have got a chance to test lgamma on an Macbook Air with HD 5000 today. It suffers from the same bug too. Just to let you know that this might not be restricted to Windows.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ting,
The fix for the lgamma issue will be available in the next driver release (somewhere around beginning of June). For Mac OSX issue, you should file an issue w/ Apple, since they build their own drivers, even though we provide the backend: not sure about their driver release timelines.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Definitely fixed in 15.40.18.4380 - just verified; see https://downloadcenter.intel.com/download/25860/Intel-Graphics-Driver-for-Windows-10-15-40-4th-Gen-

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page