kernelsWithString: replacement?

Just noticed that [CIKernel

kernelsWithString:] and related have all been deprecated on 10.14, but I can find no mention of what I am supposed to use instead.

Replies

Not just k w/s... it is CI k lang across the board. Replacement=Metal.


From Session 719 2018 WWDC:


"So, starting in this release we're going to be marking the CI kernel language as deprecated, because while we will continue to support this language, we feel that the new way of writing Metal kernels offers a lot of advantages to you, the developer.


For one thing, you get the performance advantage I outlined earlier, but it also gives you the advantage of getting build time syntax coloring on your code and great debugging tools when you're working with your Metal source."