in the original example.with 3 shareRegion and the first two shareRegion segment "isValid "= true,and the third segment isvalid = false. it works ok.
I modify the usage.In my program ,it has 5 shareRegions and the first two ShareRgion's segment "isValid"=true,and the other 3 shareRegions 's segment "isValid" = false. in this condition ,it works ok.
when i changed all shareRegions' segment "isValid" to true, i find dsp attch to host failed .
what 's the resean? does it have anything with cache or other reasons?
thanks for help