The way to disable some SM

I would like to know the application performance variation with different SMs
As far as I know, however, there is no way to control the number of streaming multiprocessors by using CUDA.
In Xavier, there exists a way to partially disable CPU cores(by access ‘/sys/devices/system’).
likewise, then, is there any way to disable some SM?

You can have taskset to have the application to run on specific CPU instead of disable others.