开发者

openMP compiler and runtime

开发者 https://www.devze.com 2023-01-16 22:45 出处:网络
Does openMP 开发者_高级运维have a runtime (like .NET CLR on top of operating system) or just a compiler?OpenMP doesn\'t really have, or need, anything like the .NET CLR.Compilers typically produce cod

Does openMP 开发者_高级运维have a runtime (like .NET CLR on top of operating system) or just a compiler?


OpenMP doesn't really have, or need, anything like the .NET CLR. Compilers typically produce code which uses one or other of the approaches to threading already installed on the platform. There are also a few environment variables which OpenMP programs may want to use, but that hardly constitues a run-time system either.

I've never come across an OpenMP compiler which needed a separate installation of a run time system or anything like one.

EDIT: An OpenMP installation also needs to provide functions such as omp_get_thread_num which are usually packaged in a library of some sort.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号