Open Looong01 opened 1 year ago
Push, because I need answers to these questions, too.
Background:
Your questions:
std::sort
instead of writing your own sorting algorithm. You're encouraged to use the DirectML APIs if they fit your use case, but it can't cover all possible cases.
I notice that "Or you could use HLSL to write a compute shader, perhaps to implement a physics simulation. However, if for example you're inclined to write your own convolution operator (for image processing) as HLSL in a compute shader, then you'll get better performance in that scenario if you use Direct Machine Learning (DirectML) instead." here.