02 August 2020 03:28:22 PM
MULTITASK_OPENMP:
C/OpenMP version
Demonstrate how OpenMP can "multitask" by using the
SECTIONS directive to carry out several tasks in parallel.
Number of primes computed was 20000
Last prime was 224737
Number of sines computed was 20000
Last sine computed was 12731.8
Elapsed time = 11.4063
Task 1 time = 6.11538
Task 2 time = 5.29093
MULTITASK_OPENMP:
Normal end of execution.
02 August 2020 03:28:34 PM
02 August 2020 03:28:34 PM
MULTITASK_OPENMP:
C/OpenMP version
Demonstrate how OpenMP can "multitask" by using the
SECTIONS directive to carry out several tasks in parallel.
Number of primes computed was 20000
Last prime was 224737
Number of sines computed was 20000
Last sine computed was 12731.8
Elapsed time = 6.43208
Task 1 time = 6.43201
Task 2 time = 5.66404
MULTITASK_OPENMP:
Normal end of execution.
02 August 2020 03:28:40 PM
02 August 2020 03:28:40 PM
MULTITASK_OPENMP:
C/OpenMP version
Demonstrate how OpenMP can "multitask" by using the
SECTIONS directive to carry out several tasks in parallel.
Number of primes computed was 20000
Last prime was 224737
Number of sines computed was 20000
Last sine computed was 12731.8
Elapsed time = 6.44612
Task 1 time = 6.44593
Task 2 time = 5.66579
MULTITASK_OPENMP:
Normal end of execution.
02 August 2020 03:28:47 PM
C 代码 演示如何多任务处理,即执行几个不相关的任务 并同时完成不同的任务, 使用 OpenMP 进行并行执行.rar
版权申诉
91 浏览量
2023-05-26
23:57:05
上传
评论
收藏 3KB RAR 举报
卷积神经网络
- 粉丝: 338
- 资源: 8460