1. A method, comprising: responsive to an instruction from a sequence of instructions of a work-item performed by a processor in a heterogeneous computing system, determining an ordering of visibility to other work-items of one or more other data items in relation to a particular data item, wherein semantics of the instruction includes a memory operation upon the particular data item; and performing at least one cache operation upon at least one of the particular data item or the other data items present in any one or more cache memories in accordance with the determined ordering, wherein the heterogeneous computing system includes one or more central processing units (CPUs) and one or more Advanced Processing Devices (APDs).