I am working on GPU. I have a problem with it. I try to assign to a gpu Array. but i get this error.
it is working on CPU, however GPU is not.
"Error using gpuArray/subsasgn
When assigning into a GPUArray, the subscripts must contain unique values. Subscript 1 contained repeated values."
can you tell me how to solve this error?