On 12/05/2012 02:37 AM, André Puel wrote: > I have a program that works fine on NVIDIAs OpenCL implementation while > on POCL I am getting some LLVM errors. > > Is there any guidelines on how to debug POCL? It would be nice if I > could run gdb on it or something like that...
Check doc/envs.txt. E.g., export POCL_LEAVE_TEMP_DIRS=1 export POCL_TEMP_DIR=tmp mkdir tmp ./your_opencl_program Then you can see the intermediate compilation result files (LLVM bitcodes etc) under tmp which you can check. Remember to remove tmp if you want to refresh your results, otherwise it reuses the old compilation results in your next run. -- Pekka ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ pocl-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pocl-devel
