Re: OpenCL SDK and ESDK misalignment
Posted:
Sat Apr 06, 2013 4:39 pm
by dar
rc2 is was built against eSDk 4.13.01.04 so it appears we have a misalignment.
Regarding build from source, have not run into that internal compiler error. Note that if you are getting stuck in tools/cltrace that tool is deprecated, being replaced with cldebug interface, so you could try,
./configure --enable-epiphany --disable-cltrace
in order to bypass it.
Also, note that building the COPRTHR package in parts can be tricky since there is some ordering of the steps that is required. Until you get comfortable with it, always best to do a make in the root directory.
We will try to get this misalignment resolved. In principle we should not have these issues going forward once paths and API becomes fixed in place. It only takes small detail to knock this off track.
Finally, be aware there is a kernel launch lock-up issue we also need to resolve. We have been working on it and believe we have solution that will go out in rc3. Practical consequence is that you can run OpenCL codes fine - we do this a lot using our prototype, but you run into intermittent errors. And this intermittent error will cause the quicktest to fail since it hammers the OpenCL implementation with hundreds of kernel tests and one is bound to hit the lock-up issue. Just be aware of this, and know we are of it and are working to get the fix pushed out in a release. Its been a difficult issue to track down.
Re: OpenCL SDK and ESDK misalignment
Posted:
Sun Apr 07, 2013 7:58 am
by ysapir
@Dade,
"So I guess something has drastically changed in the newer version: it looks like there is a single e-hal library, etc."
Many thing have radically changed in the new release. It is totally incompatible with the January release. Most probably, any host app (including the OpenCL environment) needs to be revised and rebuilt to work with the new interface.
Please find more info at the "using_esdk_for_a_host_side_application.pdf" document and in the SDK Reference manual (both in the docs/ directory)
Re: OpenCL SDK and ESDK misalignment
Posted:
Sun Apr 07, 2013 8:25 am
by ysapir
Should be enough, but make sure you update the /opt/adapteva/esdk symlink, and the EPIPHANY_HOME variable accordingly.