Assume there are three kernel functios executing in serial, K1, K2 and K3.
If d_A is declared as a linear region in global memory before lauching K1, and K1 writes to K2. Can d_A be binded to texture and accessed in texture mode in K2(read only), and unbinded before K3 launched, then writable in K3?
If not, can any memcpy series functions realize the above functionality?
I’m kind of confused of such conversion in between linear memory and texture, what’s allowed and what’s not, via using those memcpy functions.