[Openmp-dev] Two patches
Wilmarth, Terry L
terry.l.wilmarth at intel.com
Thu Mar 26 10:32:46 PDT 2015
Hello,
Here are 2 more patches:
1. hier1.patch: This short patch eliminates writing to the depth field of the machine_hierarchy data structure. The write was unnecessary, as the depth can simply be pulled out of the data structure to a local variable, and then modified as needed. This also allowed the removal of the base_depth field, because now the depth field is the base depth, and does not need to be modified.
2. safe_api.patch: This patch is large, but very simple. This change replaces banned C API calls with safe calls to meet the SDL guidelines. Most calls have their safe alternatives on Windows, but we just define macros for other platforms.
a. kmp_safe_c_api.h defines macros that replace the banned calls
b. APIs for non-windows platforms will be filled in later
Thanks!
Terry
--
Terry L. Wilmarth
terry.l.wilmarth at intel.com 217/403-4251
Intel/SSG/DPD/TCAR/RAD/Threading Runtimes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20150326/cf47cb6c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hier1.patch
Type: application/octet-stream
Size: 1809 bytes
Desc: hier1.patch
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20150326/cf47cb6c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: safe_api.patch
Type: application/octet-stream
Size: 38117 bytes
Desc: safe_api.patch
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20150326/cf47cb6c/attachment-0001.obj>
More information about the Openmp-dev
mailing list