Openmpi
文章平均质量分 69
IanChenV
这个作者很懒,什么都没留下…
展开
-
前缀和--Openmp
#include #include #include using namespace std; #define MAXSIZE 100 int main() { int a[MAXSIZE]; int num_procs = 0 ; int seq_num = 0; int i,j; for(i = 0;i < MAXSIZE; i++){原创 2014-03-24 22:54:10 · 1098 阅读 · 0 评论 -
OpenMp的实例代码
#include #include #include /** * Hello OpenMP World prints the number of threads and the current thread id */ int main (int argc, char *argv[]) { int numThreads, tid; /* This creates a team原创 2014-03-26 02:21:30 · 514 阅读 · 0 评论