On Tue, 6 Aug 2013 21:28:19 -0700 Alun Evans <[email protected]> wrote:
> i.e. I'm compiling pocl natively on x86_64, but trying to add a new > device that is an ARM based platform. > > I've actually got a few more questions on that, but I think I'm making > some progress. I just thought about checking whether this has been > successfully attempted before? So you are building a system where 'build'=='host'==x86_64, 'target'=arm? That should be doable, e.g. the ttasim and cellspu drivers have a similar setup. But if you are building as system where 'build'==x86_64, 'host'=='target'==arm, then that has been unsuccessfully tried in the past, and no reports on successes has reached me. Patches welcome :) > Well infact the device is a bit space limited, so holding a a > toolchain out there would have been a bit of a pain. 'A bit space limited' is a bit subjective. But this is clearly an issue on the TODO list. OpenCL's clCreateProgramWithBinary documentation does suggest that the program binary should be loadable without invoking compilers past that point. However, pocl's optimizations (and code generation) kick in "later", at clEnqueueKenrnel call time. So getting current pocl (not in standalone mode) to run on a compilerless system would require quite a bit of work. But at least I would see this as a worthy goal. Sure, it would place some restrictions to the usage of OpenCL (like fixing WG sizes at compile time). But somehow I think such restrictions would be a minor thing in the context of this sort of embedded systems. kalle ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ pocl-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pocl-devel
