If you remember my previous wrapper has as a limitation that doesn't work on MacOS as ATI doesn't ship CAL libraries in MacOS and AMD support in MacOs seems to do not depend on CAL libraries. Now that seems that finally OpenCL is going to be "working" on AMD 4xxx GPUs in Snow Leopard in 10.6.2 possible next week,
a proper way of getting AMD IL from kernels is lacking.. As a "posible" measure use this solution..
Well, of course I'm supposing it works with Darwine (name recently changed to Wine ).. checked with wine-1.1.31 and works..
Regarding OpenCL on MacOs:
* Wow things are moving fast and now are avaiable Drivers for Radeons 46×0/45×0/43×0 in hackintosh computers.. with that OpenCL support on AMD cards on MacOS is virtually identical to that of AMD Stream SDK 2.0 well expecting 5xxx series..
* You have a "full suite of benchmarks" here (which will be avaiable here in short time for Windows)
Another side effect of using this method (that is avaiable as part of AMD Stream 2.0 SDK is that you can use it as and AMD IL backend for LLVM ..
Specifically you can use:
./llc -regalloc=amdil -filetype=asm -march=amdil kernel.bc -o kernel.il
see this for details
Badly it has the incovenient that generated code seems of bad quality (I mean not optimized)
fact that has been confirmed by AMD employee..
Friday, 23 October 2009
AMD IL backend for LLVM and getting AMD IL in MacOS?
Posted on 12:00 by Unknown
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment