Search found 1025 matches

by ejd
Tue Nov 13, 2012 9:26 am
Forum: OpenMP 4.0 Public Review Release Candidates
Topic: fortran 2003 and openmp
Replies: 3
Views: 13758

Re: fortran 2003 and openmp

A "reference" implementation does help for any new feature trying to be added, because it gives the members something to look at and "play" with. However, it doesn't guarantee that the priority will be high. For example, individual vendors may not want to push a new feature into a "standard", becaus...
by ejd
Tue Nov 13, 2012 6:38 am
Forum: OpenMP 4.0 Public Review Release Candidates
Topic: fortran 2003 and openmp
Replies: 3
Views: 13758

Re: fortran 2003 and openmp

The committee is made up of individuals from each of the member organizations who generally have other responsibilities in their company than just OpenMP. Each topic for a new release is suggested by someone, prioritized, and voted on for possible inclusion. Once a candidate list is drawn up, someon...
by ejd
Tue Nov 13, 2012 6:00 am
Forum: OpenMP 4.0 Public Review Release Candidates
Topic: OpenMP 4.0 Release Candidate Available
Replies: 4
Views: 15451

Re: OpenMP 4.0 Release Candidate Available

Up to now, the change tickets have been for internal use only and have not been publicly released. In theory, Appendix F should contain a summary of the changes that have been made for each release. At this point, I am not sure that it is correct or not, because I am just starting to review the docu...
by ejd
Sat Jul 23, 2011 6:21 am
Forum: Using OpenMP
Topic: How can i introduce "omp_lib.h" in fortran!?
Replies: 3
Views: 6814

Re: How can i introduce "omp_lib.h" in fortran!?

If the compiler you are using supports OpenMP, then they have to support either the include file omp_lib.h or the module named omp_lib. These contain the interfaces for the library routines and some variables that are OpenMP specific. Examples of the interface information is contained in the appendi...
by ejd
Fri Jul 22, 2011 9:01 pm
Forum: Using OpenMP
Topic: parallel for thread No
Replies: 2
Views: 3583

Re: parallel for thread No

The program shown is incorrect. You have specified "parallel for" but the next statement is not a for statement, but a block. I don't know what compiler you are using, but it should have given you an error. The program should look more like: #pragma omp parallel { cout<<omp_get_num_threads()<<endl; ...
by ejd
Fri Jul 22, 2011 8:54 pm
Forum: Using OpenMP
Topic: TASK constrcution
Replies: 3
Views: 3899

Re: TASK constrcution

That is correct. Microsoft hasn't changed their support of OpenMP in some time and doesn't support the task construct. You might look into alternatives such as the Intel compiler product that fits into the Microsoft VS framework and supports the later specifications.
by ejd
Fri Jul 22, 2011 8:51 pm
Forum: Using OpenMP
Topic: False OpenMP Variable initialization?
Replies: 3
Views: 3666

Re: False OpenMP Variable initialization?

You haven't specified what compiler you are using is or what the library is. The reason that it is suggested that you do the initialization in parallel is so that the portions of x are distributed across the caches of the processors. That way, if you are going to be operating on x in parallel in the...
by ejd
Fri Jul 22, 2011 8:45 pm
Forum: Using OpenMP
Topic: Possible computation method on openmp
Replies: 1
Views: 2777

Re: Possible computation method on openmp

It is possible, but not necessarily easy.
by ejd
Fri Jul 22, 2011 8:44 pm
Forum: Using OpenMP
Topic: Confusion about task directive
Replies: 1
Views: 2798

Re: Confusion about task directive

Without a parallel region the OpenMP directives will not be effective and the code will run in serial mode.
by ejd
Mon Jul 11, 2011 8:53 am
Forum: Using OpenMP
Topic: Help with optimizing my OpenMP for loop
Replies: 7
Views: 6393

Re: Help with optimizing my OpenMP for loop

The general assumption is that the amount of work is the same over the loop iterations. That is why most implementations have the default be static for the schedule type and the chunk_size default to (basically) the (number of iterations)/(number of threads). So you generally don't have to specify t...