a problem about code use(opencv) cuda::stereobm

opencv error:GPU api call(invalid configuration argument)

anyone help me?
thank you in advanced.

when use opencv cuda stereobm to my original cuda code .it occurs the problem.