openmp implementation using omp task