Hi On 20.04.2015 00:41, Tiago Gehring wrote: > 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.
Great to hear! > 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); Aside of a proper solution Pekka already posted: If I understand your problem correctly, I think you could work-around this by installing several versions of pocl: /opt/pocl/0.11/sse4 /opt/pocl/0.11/avx /opt/pocl/0.11/avx2 Then install (system-wide) ocl-icd for everybody, and select the correct pocl instance by pointing the environment variable OCL_ICD_VENDOR to the correct pocl's pocl.icd file, depending on the current CPU. kalle ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/pocl-devel
