Allocating __global storage from within a kernel?
Posted: Thu Jul 02, 2015 6:46 am
Hi,
I want to share some data between cores in a simple (but not very efficient) manner so I declared
__global float linkError[SOMEHUGEAMOUNTOFSPACE]
inside a kernel with very sad results. Using an array already clmalloced on the host worked fine.
Is there any way of doing a clmalloc of global storage from within a kernel?
nick
I want to share some data between cores in a simple (but not very efficient) manner so I declared
__global float linkError[SOMEHUGEAMOUNTOFSPACE]
inside a kernel with very sad results. Using an array already clmalloced on the host worked fine.
Is there any way of doing a clmalloc of global storage from within a kernel?
nick