OpenMP
halfpast3
其作始也简
展开
-
OpenMP编译注意事项
编译 arm-linux-gnueabi-gcc -Wall -I/your/include/path -c helloworld.c -fopenmp 链接 arm-linux-gnueabi-gcc helloworld.o -L/your/lib/path -la -lb -static -o helloworld -fopenmp原创 2020-03-14 15:24:34 · 572 阅读 · 0 评论 -
并行程序设计OpenMP
编写源程序parallel.c #include <omp.h> #include <stdio.h> #include <time.h> #include <sys/time.h> int main() { /* Time on */ struct timeval start, end; long secs_used, micro...原创 2020-03-14 11:05:07 · 235 阅读 · 0 评论