I would like to allocate 1 dimentional buffer and use it for writting in one kernel.
And as a 1d texture in the second one?
Is it possible to do that?
Is it possible to use 1d buffer as both 1d buffer and texture at the same time?
I don’t require correctiveness. I know that memory may change and a cache won’t be updated.
I noticed that texture is binded to cudaArray. Is it possible to write to a cudaArray from a gpu kernel?