Is there any way to disable part of the streaming processors for the CUDA Computing

If I just want to part of the streaming processors on the GPU, how can I disable parts of the streaming processors?

I do not think this is possible, but perhaps others can comment. What is your end goal in doing so?

I am trying to test the performance of the different number of SMs. Is there any way to control the number of SMs for the performance?

Again, I don’t think there is a way to do what you’d like (disabling cores). The best alternative is to actually run your code on a different GPU of the same architecture/chipset that has the SM count you want to test your application on.

Thanks a lot.