read/write global buffers?

Discussion created by sgratton on Jul 1, 2008
Latest reply on Jul 1, 2008 by sgratton
Hi there,

Is it possible to use a global buffer with CAL for both reading and writing to? I'd like to do an in-place operation (Cholesky factorization) on a big matrix. If this is possible, how should I allocate the buffer (and are any resource declarations needed)?

The calculation would be structured to hopefully ensure that there were no read/write problems, i.e. each kernel would only read from one part of the matrix and only write to another part, or each thread would read and then write to its individual element.