Hi,

First of all I wanted to thank you for your effort on this amazing library.
By moving from Intel OpenCL SDK to pocl in my program I saw a massive speed
boost on my laptop, probably because of the target CPU optimizations
performed at compile time and the better use of AVX2 instructions. But
perhaps even more importantly, I'm keen on making my application more
portable by removing the dependency on Intel's of AMD's OpenCL runtimes (in
Linux machines at least), which cannot always be easily installed by the
users.

I have a couple of questions, though:

i) The _kernel.h and the kernel_*.bc files (not sure if others as well)
seem to be hardcoded at compilation time. Is it possible to specify an
alternative (or relative) path at runtime? The reason is that I don't want
to force users to always install headers/libraries system-wide and I would
like to have the ability to relocate my application + pocl (right now pocl
is already being built and linked statically as part of my program build
procedure);

ii) I saw from some discussions in this mailing list that there was a
proposal for adding support for multiple target CPUs (i.e. kernel_*.bc). Is
this still planned (or already supported)? It would be great to pre-compile
a few different kernels (e.g. SSE4 only, AVX, AVX2 and so on) and having a
runtime discovery mechanism. Alternatively I would like to pre-compile
those kernels anyway (even if this means one full pocl build per
architecture) and just having users (or an automatic mechanism) choose the
correct *.bc file once (renaming or symlinking it to a predefined location);

Thank you,
Tiago
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
pocl-devel mailing list
pocl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to