我正在使用this code在Android设备上执行实时图像处理。在我尝试过的大多数设备上(包括三星Galaxy S4 Mini和LG G3),它的效果非常好。但是,在我的Nexus 6上,它只有20%的时间可以工作,剩下的时间我都会收到这个错误:
Failed to launch kernel; dimensions of input and output allocations do not match
当它运行时,它会在开始再次抛出错误之前工作一段时间。我看到这个错误的唯一其他设备是中兴Maven,它在我测试的100%的时间内抛出错误。还有其他人看过这个吗?/任何人都可以解释各种设备有什么不同吗?