On writing Image Units

Apple's Core Image documentation doesn't clearly state how to make a CPU-executable Image Unit, as opposed to a non-executable (GPU-only) one.

the answer is simple: don't make a .cikernel file. you should start with one when you're running the validation tool over your Image Unit, but if you want to make a CPU-executable Image Unit (and please do, so I can use it on my Cube), move the kernel code into your Obj-C code once it compiles, and then delete the .cikernel file.

(btw, yes, I am testing MarsEdit. hence the two posts today. ;)


Post a Comment

links to this post:

Create a Link

<< Home