I am now implementing split since I guess it is not available by default from the standard or AMD's implementation. However, I was wondering, is there a scatter function? I need to permute the contents of a local (work group) memory object based on a mask index array. Something similar to vector "shuffle" function but for general arrays.