[英]Sorting in a Metal compute shader
Metal 是否具有与 CUDA 的推力::排序类似的功能,还是希望编写自己的排序功能?
Apple's Accelerate framework has useful vector operations in the vDSP package. Apple 的 Accelerate 框架在 vDSP 包中有有用的矢量操作。 Sorting, specifically, can be found here.具体来说,排序可以在这里找到。
https://developer.apple.com/documentation/accelerate/vdsp/reversing_and_sorting_functions https://developer.apple.com/documentation/accelerate/vdsp/reversing_and_sorting_functions
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.