On Thu, 2014-02-27 at 10:33 +0400, Anti_Tenzor wrote: > Hi, Pekka, Vincent, > > 1. It is written in ocl-icd documentation, that this variable may point > to specific vendor. Obviously enough it should use this single vendor > in this case.
Ah, a new feature in ocl-icd? Very useful, thanks Vincent! > 2. $ ldd /usr/lib/libpocl.so.1.2.0 > does not show any broken dependencies. > 3. I start to think that maybe it is some ocl-icd <--> pocl interoperability > issue. > My first call to OpenCL is clGetPlatformIDs(0, null, handlesLength); You compiled pocl with ocl-icd *not* installed on the system? pocl uses a ocl-icd header that defines the ICD dispatch struct. If ocl-icd is not found (at ./configure time), pocl reverts to an array of void pointers, IIRC. Actually, if no ICD loader at all is found, the ICD extension is disabled in pocl (again, IIRC). As you might notice from my vaguness above, the case of no ocl-icd gets a lot less testing so this could be an actual bug in pocl :) If you now re-configure & compile pocl with ocl-icd installed, is there any change? > What is important is that there is no message from ocl-icd in debug mode on > console! This does not sound good. I run (out of habit) debug with OCL_ICD_DEBUG=15, and always get at least some debug info. kalle ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ pocl-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pocl-devel
