From 73f99e761e71e4414ea31a967d0fc6af0a2a166e Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Tue, 4 Sep 2012 20:00:29 +0200 Subject: [PATCH] [pipepar] Fix pragma for 12 cores in pipeline_template Add state10 to the list of private variable in the last pragma in the case of 12 cores in pipeline_template computation. --- pipepar/pipeline_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipepar/pipeline_template.c b/pipepar/pipeline_template.c index 33d183d..9cf5c89 100644 --- a/pipepar/pipeline_template.c +++ b/pipepar/pipeline_template.c @@ -228,7 +228,7 @@ int compute_metrics(void) #elif NB_CORES == 12 #pragma omp parallel default (none) \ shared (nb_packets, seed) \ - private (state1, state2, state3, state4, state5, state6, state7, state8, state9, state11, i) + private (state1, state2, state3, state4, state5, state6, state7, state8, state9, state10, state11, i) #else #error Only supporting NB_CORES <= 12 #endif