for example  I test a model(such as  bvlc_reference_caffenet)  with python  then "caffemodel.set_device(0)"  every thing is ok ,but  if  I "caffemodel.set_device(1)"  
then: 
"
cudnn_conv_layer.cu:30] Check failed: status == CUDNN_STATUS_SUCCESS (8 vs. 0)  CUDNN_STATUS_EXECUTION_FAILED
*** Check failure stack trace: ***"
I have make runtest on devide 1 ,and 
[==========] 1169 tests from 190 test cases ran. (180838 ms total)
[  PASSED  ] 1169 tests.
|   0  Tesla K40m          Off  | 0000:05:00.0     Off |                    0 |
| N/A   65C    P0   141W / 235W |   3387MiB / 11519MiB |     99%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla K40m          Off  | 0000:42:00.0     Off |                    0 |
| N/A   37C    P8
The same problem occurs on master too !