Merge "Correctly pass number of input allocations for BLAS" am: 8d08d0fa83
am: e443dd04b0

Change-Id: I4194799c54c065dd239a4f635af05d99e67a6996