def bptrs(a):

    return gpuarray.arange(a.ptr,a.ptr+a.shape[0]*a.strides[0],a.strides[0],
                dtype=cublas.ctypes.c_void_p)
Pointer array when input represents a batch of matrices.
dataset/ETHPy150Open lebedov/scikit-cuda/tests/test_cublas.py/bptrs