The global sum example shown in the textbook each processor is responsible for computing the local sum, I.e.,

data mining

Description

 Assume that the problem size is n and there are p processors in the system. For the global sum example shown in the textbook pp.4~5, each processor is responsible for computing the local sum, I.e., 

for (my_i = my_first_i; my_i < my_last_i; my_i++) {

        my_x = compute_next_value(..);

        my_sum += my_x;

Instruction Files

Related Questions in data mining category