search for: nummembers

Displaying 1 result from an estimated 1 matches for "nummembers".

2009 Oct 07
3
[LLVMdev] Instructions that cannot be duplicated
...} barrier(CLK_LOCAL_MEM_FENCE); int idWithinCluster = 300; // anthing other then zero if (point_id < num_objects) { idWithinCluster = atom_add(&clusterCount [index],1); } barrier(CLK_LOCAL_MEM_FENCE); int numMembers = 2; if(idWithinCluster == 0) { clusterCount[index] = atom_add(&sTemp[0], numMembers);//This holds the prefix offset } delta_d[xx] = clusterCount[index]; } produces bitcode file which has 3 barriers....