<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Or, if you want a paper on this, there’s <div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><span style="color: rgb(51, 51, 51); font-family: "Source Sans Pro", Helvetica, Arial, sans-serif; font-variant-ligatures: normal; letter-spacing: 0.238px; orphans: 2; widows: 2; background-color: rgb(252, 252, 252); text-decoration-thickness: initial;" class="">Bae H., Cownie J., Klemm M., Terboven C. (2014) A User-Guided Locking API for the OpenMP* Application Program Interface. In: DeRose L., de Supinski B.R., Olivier S.L., Chapman B.M., Müller M.S. (eds) Using and Improving OpenMP for Devices, Tasks, and More. IWOMP 2014. Lecture Notes in Computer Science, vol 8766. Springer, Cham. <a href="https://doi.org/10.1007/978-3-319-11454-5_13" class="">https://doi.org/10.1007/978-3-319-11454-5_13</a></span></div></blockquote><div class=""><div style="orphans: 2; widows: 2;" class=""><font color="#333333" face="Source Sans Pro, Helvetica, Arial, sans-serif" class=""><span style="caret-color: rgb(51, 51, 51); letter-spacing: 0.23800000548362732px; background-color: rgb(252, 252, 252);" class=""><br class=""></span></font></div><div><br class=""><blockquote type="cite" class=""><div class="">On 25 Jun 2021, at 09:16, Jim Cownie <<a href="mailto:jcownie@gmail.com" class="">jcownie@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="">Date: Thu, 24 Jun 2021 14:23:20 +0000<br class="">From: Krzysztof Rymski via Openmp-dev <<a href="mailto:openmp-dev@lists.llvm.org" class="">openmp-dev@lists.llvm.org</a>><br class="">To: "<a href="mailto:openmp-dev@lists.llvm.org" class="">openmp-dev@lists.llvm.org</a>" <<a href="mailto:openmp-dev@lists.llvm.org" class="">openmp-dev@lists.llvm.org</a>><br class="">Cc: Timothy M Jones <<a href="mailto:timothy.jones@cl.cam.ac.uk" class="">timothy.jones@cl.cam.ac.uk</a>><br class="">Subject: [Openmp-dev] LLVM openMP entry point<br class="">Message-ID:<br class=""><span class="Apple-tab-span" style="white-space:pre">     </span><<a href="mailto:CWLP265MB400239B9E9343A0CEFF5B260AB079@CWLP265MB4002.GBRP265.PROD.OUTLOOK.COM" class="">CWLP265MB400239B9E9343A0CEFF5B260AB079@CWLP265MB4002.GBRP265.PROD.OUTLOOK.COM</a>><br class=""><span class="Apple-tab-span" style="white-space:pre">      </span><br class="">Content-Type: text/plain; charset="iso-8859-1"<br class=""><br class="">Hi,<br class="">I want to do a project with OpenMP where I add speculation with transactional memory, but I have a hard time finding an entry point to the omp library.<br class="">Therefore, I was hoping you could point me to it.<br class=""><br class="">Best wishes<br class="">Krzysztof<br class="">-------------- next part --------------<br class="">An HTML attachment was scrubbed...<br class="">URL: <<a href="http://lists.llvm.org/pipermail/openmp-dev/attachments/20210624/fb17784e/attachment-0001.html" class="">http://lists.llvm.org/pipermail/openmp-dev/attachments/20210624/fb17784e/attachment-0001.html</a>><br class=""><br class="">------------------------------<br class=""></div></div></blockquote></div><div class=""><br class=""></div>What are you really trying to achieve?<div class=""><br class=""></div><div class="">The OpenMP standard has support for transactional memory already (via the use of synchronization hints <a href="https://www.openmp.org/spec-html/5.1/openmpsu180.html#x226-2590003.9.2" class="">https://www.openmp.org/spec-html/5.1/openmpsu180.html#x226-2590003.9.2</a> and <a href="https://www.openmp.org/spec-html/5.1/openmpsu110.html#x143-1550002.19.12" class="">https://www.openmp.org/spec-html/5.1/openmpsu110.html#x143-1550002.19.12</a> ), and the LLVM OpenMP runtime already supports them on machines (such as Intel processors) where the hardware has that capabiilty.</div><div class=""><br class=""></div><div class="">See the first talk at <a href="https://www.openmp.org/resources/openmp-presentations/resources-openmp-presentations-sc18-booth-talks/" class="">https://www.openmp.org/resources/openmp-presentations/resources-openmp-presentations-sc18-booth-talks/</a> </div><div class=""><br class=""><div class="">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">-- Jim<br class="">James Cownie <<a href="mailto:jcownie@gmail.com" class="">jcownie@gmail.com</a>><br class="">Mob: +44 780 637 7146<br class=""><br class=""><br class=""><br class=""></div></div>

</div>
<br class=""></div></div></div></blockquote></div><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">-- Jim<br class="">James Cownie <<a href="mailto:jcownie@gmail.com" class="">jcownie@gmail.com</a>><br class="">Mob: +44 780 637 7146<br class=""><br class=""><br class=""><br class=""></div></div>

</div>
<br class=""></div></body></html>