-
So in raw cuda, when we run kernels, we define blocks and thread size. |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 7 replies
-
We generally refer to things like block size, items per thread, etc. as "tuning parameters". They are not currently exposed for users to control. Internally within Thrust and CUB we statically dispatch to a particular set of tuning parameters based on the algorithm and the architecture you're running on. The tuning parameters we select are necessarily a compromise based on what our benchmarking has found to be the "best" in the most cases. This can often be unsatisfying if your use case happens to not perform well with the tuning parameters we have selected. As a result, it is on our roadmap for this year to design extended APIs that allow you to control these tuning parameters. I don't have a more specific timeline than that. Just know that we know this is important and it is on our radar. |
Beta Was this translation helpful? Give feedback.
We generally refer to things like block size, items per thread, etc. as "tuning parameters". They are not currently exposed for users to control.
Internally within Thrust and CUB we statically dispatch to a particular set of tuning parameters based on the algorithm and the architecture you're running on. The tuning parameters we select are necessarily a compromise based on what our benchmarking has found to be the "best" in the most cases.
This can often be unsatisfying if your use case happens to not perform well with the tuning parameters we have selected. As a result, it is on our roadmap for this year to design exte…