[Beignet] GROMACS on beignet

Pan, Xiuli xiuli.pan at intel.com
Fri Mar 25 03:06:43 UTC 2016


Hi Szilárd,

What do you mean about quoted includes? If you mean the include in kernels, I think we may have some problem with that. The *.cl we used for clang actually was a copied tmp version stored not in where is used to be. So I think if you just put what need to be included in the old place, clang could not find it. You could try a workaround to pass “-I where/your/header/is”  as a build option to clBuildProgram.

Then if you have some double types used on Haswell it may have some problem. The hardware for HSW does not support double very well as we have refined our double support to hardware then, so HSW may have some issues with double type. If it is not the problem with double float, you can send your kernel as an attachment or report a bug on our Bugzilla(https://bugs.freedesktop.org) and we will tried to fix it.

Thanks
Xiuli

From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of Szilárd Páll
Sent: Friday, March 25, 2016 7:16 AM
To: beignet at lists.freedesktop.org
Subject: [Beignet] GROMACS on beignet

Hi,

I am a developer of the GROMACS (www.gromacs.org<http://www.gromacs.org>) molecular dynamics simulation package. We have OpenCL offload for some of the compute-intensive kernels which that works very well on AMD. I wanted to assess how feasible is to use an Intel iGPU in GROMACS and after jumping through some hoops I got a 4.2 kernel and beignet master installed.

Then I ran into the first minor issue: it seems that beignet does not accept quoted includes although AFAIK the double-quoted include paths should be accepted, but that did not work. No big deal, it doesn't work with Apple's OpenCL either, but I thought I'd ask.

However, the bigger issue is that running on Haswell (HD 4600, I think) the kernel produces results that are very off (while the very same source gives correct results on other platforms). I've not much time to dig deeper, but I thought I'd drop a mail maybe somebody is interested in helping out with tips or even tracking down where the issue is.

Suggestions would be welcome!

Cheers,
--
Szilárd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/beignet/attachments/20160325/ef3dee09/attachment-0001.html>


More information about the Beignet mailing list