Array formatting: pynq notebook -> hls kernel

Say we have a notebook:

...

A=np.array(...)
dma0 = ol.axi_dma_0

...

DIM=2
DATA_TYPE = np.uint32
in_buffer_A = allocate(shape=(DIM,DIM), dtype=DATA_TYPE)
np.copyto(in_buffer_A, A)

...

dma0.sendchannel.transfer(in_buffer_A)

...

I am wondering how exactly the data from in_buffer_A is fed to the kernel?

I.e. if it is an array like:

A = [[1,2],[3,4]]

Will the order of the stream in the kernel read: [1,2,3,4] or [1,3,2,4]? Or something else, entirely?