i have a problem with my code.
now i want that at a time only one thread can access the statement *no_of_nodes_gpu=*no_of_nodes_gpu-1…
so i used after this line…but its not giving proper results.as i am new to this.can anyone tell me how can i do this or is this a correct method to do.And,i want to do this across blocks.
please reply as soon as possible…
Thanks in advance