OpenMPに関するmtsのブックマーク (2)

  • OpenMP 入門

    OpenMP は共有メモリ並列プログラミングの標準 API である。ここでは C/C++ 版を紹介する。Fortran 版もある。 OpenMP は自動並列化ではない。依存性の分析と解決はプログラマに任されている。使い方を間違えば、当然正しくない結果を出す。 #include <omp.h> OpenMP を使うときにはインクルードする。 _OPENMP OpenMP コンパイラが define するマクロ。 #pragma omp parallel 節 次の行から始まるブロックを並列に(重複して)実行する。 スレッドの数は num_threads 節か、omp_set_num_threads 関数か、環境変数 OMP_NUM_THREADS で指定する。 Parallel 指示行の時点で既に定義されている変数と、ブロック内でもstatic 宣言されている変数は

  • OpenMP.org

    »OpenMP Tutorial at Supercomputing 2008 Tutorial S08: A Hands-on Introduction to OpenMP (Full day) Sunday, November 16, 2008 »SuperComputing ’08, Austin, Texas Instructors: Larry Meadows, Intel Corporation, Tim Mattson, Intel Corporation If you are planning on attending the 20th Anniversary of the SC Conference, to be held this year in Austin from November 15 through 21, and if you are interested

  • 1