I'd generally try to avoid copying memory on core, but if you do need to then just use a for loop. But make sure you have -fno-tree-loop-distribute-patterns specified to the compiler, else it will replace the loop with a memcpy, which will be slower because that executes from shared memory.Statistics: Posted by mikebell — Thu Feb 26, 2015 9:33 pm
]]>