Let K be the canonical line bundle of a compact Riemann Surface M of genus g . Consider the pull back of K on M x M via projection on the first factor. What is the dimension of the global Holomorphic sections of this pull back line bundle on M x M?

I can calculate its Euler Characteristic by Riemann-Roch( Noether’s formula) but how does one calculate H^0?

Thank you,