0% found this document useful (0 votes)
37 views1 page

Openmp

The document outlines the instructions for Assessment-1 of the Computer Architecture and Organisation course (MACSE517). It requires students to write an OpenMP program that includes multiple tasks such as printing 'Hello World' in multiple threads, finding the number of threads, and parallelizing a simple for loop. Students must submit their work in a single PDF file containing the question, code, and output screenshot before the deadline.

Uploaded by

SIVAVEDATHRI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views1 page

Openmp

The document outlines the instructions for Assessment-1 of the Computer Architecture and Organisation course (MACSE517). It requires students to write an OpenMP program that includes multiple tasks such as printing 'Hello World' in multiple threads, finding the number of threads, and parallelizing a simple for loop. Students must submit their work in a single PDF file containing the question, code, and output screenshot before the deadline.

Uploaded by

SIVAVEDATHRI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Computer Architecture and Organisation

(MACSE517 )
Assessment-1

Instructions:
1. All the program has to be in a single file.
2. The file should contain the question, code and the screenshot of the output
3. Submit the pdf before the deadline

I. Write an OpenMP Program

a) To print “Hello World” in multiple threads.


b) To find number of threads running currently
c) To find maximum number of threads.
d) To find the thread id.
e) To find the number of processor core in system
f) To set number of thread to be executed
g) To test if a parallel function is running
h) To parallelize a simple for loop.

You might also like