Top "Openmp" questions

OpenMP is a cross-platform multi-threading API which allows fine-grained task parallelization and synchronization using special compiler directives.

How to printf a time_t variable as a floating point number?

I'm using a time_t variable in C (openMP enviroment) to keep cpu execution time...I define a float value …

c time parallel-processing openmp time-t
OpenMP: What is the benefit of nesting parallelizations?

From what I understand, #pragma omp parallel and its variations basically execute the following block in a number of concurrent …

c++ multithreading nested parallel-processing openmp
Iteration through std containers in openmp

I'm trying to use openmp to multithread a loop through std::set. When I write the following code - #pragma …

c++ stl openmp
openacc vs openmp & mpi differences ?

I was wondering what are the major differences between openacc and openmp. What about MPI, cuda and opencl ? I understand …

cuda opencl mpi openmp openacc
Using OpenMP with C++11 range-based for loops?

Is there any counter-indication to doing this ? Or is the behavior well specified? #pragma omp parallel for for(auto x : …

c++11 openmp
Can OpenMP be used for GPUs?

I've been searching the web but I'm still very confused about this topic. Can anyone explain this more clearly? I …

multithreading fortran gpu openmp openacc
Difference between OpenMP threadprivate and private

I am trying to parallelize a C program using OpenMP. I would like to know more about: The differences between …

parallel-processing openmp private
OpenMP Dynamic vs Guided Scheduling

I'm studying OpenMP's scheduling and specifically the different types. I understand the general behavior of each type, but clarification would …

c++ multithreading parallel-processing openmp scheduling
Using openMP in the cuda host code?

It it possible to use openMP pragmas in the CUDA-Files (not in the kernel code)? I will combine gpu and …

c++ cuda openmp
How to disable OpenMP directives in a nice way?

I have C++ code with OpenMP pragmas inside. I want to test this code both for multithread mode (with OpenMP) …

c++ c openmp