Does Metal support parallel processing of an input texture to produce a non-texture output? For example, generating a string from the pixel values?
Non-texture output
Add a Comment
Does Metal support parallel processing of an input texture to produce a non-texture output? For example, generating a string from the pixel values?
Sure, Metal supports writing to buffers as well. At least from compute kernels. Of course, if you want to write data with not fixed size, things get a little complicated, because you may need to do parallel prefix sums or something like that. Fixed size data is trivial.
Sure, Metal supports writing to buffers as well. At least from compute kernels. Of course, if you want to write data with not fixed size, things get a little complicated, because you may need to do parallel prefix sums or something like that. Fixed size data is trivial.