All aspects of the parallel computation must be included in the time measurement, so the start time is before the allocation of the stacks. Furthermore, please note that the stack should be allocated on the node where the thread runs, so it should be the thread itself that allocates it.
Re: Assignment 1: TSP, parallel solution, memory allocation
par Wolfgang Schreiner,
Nombre de réponses : 0