m.wagner

Does streamWrite free the allocated memory on gpu memory?

Discussion created by m.wagner on Jul 24, 2008
Latest reply on Jul 24, 2008 by MicahVillmow

In order to do a sychronization after streamRead(a, A) I use a streamWrite(a A). Then I perform another streamRead i.e. streamRead(b, B) and start a kernel like my_kernel(a, b, c).

My question: Does the streamWrite(a, A) free the allocated memory of streamRead(a, A) so that it is possible that streamRead(b, B) writes in the memory of *a?

Outcomes