开发者

openMP compiler and runtime

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜