Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
q what do you mean by lock synchronizationlock synchronization in this method contents of an atom are updated by requester process and sole access is
q describe about sole access protocolthe atomic operations that have conflicts are handled with the help of sole access protocol the method used for
q explain execution-modes of a multiprocessorexecution-modes of a multiprocessor several modes of multiprocessing comprise parallel execution of
q define wait protocolthe wait protocol is used for resolving conflicts that arise due to some multiprocessors requiring same resource there are 2
q learn synchronization principlesto learn synchronization subsequent dependencies are recognized i data dependency these are raw waw and war
in multiprocessing several processors require to communicate with one another so synchronisation is needed between them the correctness and
q illustration of parallel programming environmentslets discuss illustrations of parallel programming environments of intel paragaon xps and cray
q why we need parallel programming languagesthe parallel programming languages are created for parallel computer environments these are developed
q explain about parallel programming environmentthe parallel programming environment comprises of a debugger an editor performance evaluator
q explain use of parallel sections constructthis illustration explains use of parallel sections construct three functions fun1 fun2 and fun3 all can
q using library methods returns number of threadsinclude lt omph gtvoid subdomainfloat x int istart int ipointsint ifor i 0 i lt ipoints ixistarti
q determine what part of global array to work on thread numberinclude lt omph gtvoid subdomainfloat x int istart int ipointsint ifor i 0 i lt
q use of parallel construct with private clausein this example we would see use of parallel construct with private and firstprivate clauses at end of
q show the programmes for parallel systemsadding elements of an array using two processor int sum a n shared
q write a pseudo code to find sum of two functionslets write a pseudo code to find sum of two functions fa fb in first algorithm we will not use
q example of shared programming using library routinesthink about subsequent set of statements process
q show the shared programming using library routinesthe mainly well-liked of them is use of combo function known as fork and join fork function is
q what is ordered directivethis directive is used in combination with for and parallel for directives to cause an iteration to be executed in order
q define atomic directive in fortanatomic directive guarantees a specific storage location is updated atomically rather than exposing it to odds of
q define syntax of barrier directivebarrier directive the syntax of barrier directive is pragma omp barrierwhen a thread attains barrier it
q describe critical directive in fortanthe critical directive permits one thread executes associated structured block when one or more threads attain
q define master construct in fortanthe master directive has following general form pragma omp masterstructuredblock it causes master thread to
what is parallel sections constructthe parallel sections construct is a shortcut for specifying a parallel construct comprising one sections
q what is parallel loop constructparallel loop construct is a shortcut for specifying parallel construct comprising one loop construct and no other
q combined parallel work-sharing constructscombined parallel work sharing constructs are shortcuts for specifying a work sharing construct nested