25.06.2015 Views

clause

clause

clause

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Hello World(C)<br />

#include <br />

main()<br />

{<br />

int myid,numthreads;<br />

#pragma omp parallel<br />

{<br />

myid = omp_get_thread_num();<br />

numthreads = omp_get_num_threads();<br />

printf("Hello World from thread %d of<br />

%d!\n",myid,numthreads);<br />

}<br />

}<br />

2006 年 4 月 共 享 存 储 编 程 39/108

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!