I am trying to do away with an array of data in local memory that I have no further use for, to make room for an array of a different type.
I have, without success, tried enclosing the first array and its use in a scope, and sepparating it from the second using “barrier(CLK_LOCAL_MEM_FENCE)”.
Is there a way to accomplish this?