<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re:Memory / data race problems in DGETRI in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1317806#M32110</link>
    <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The engineer was able identify the issues and is currently working on the fix for them.&lt;/P&gt;&lt;P&gt;I will let you know when they are available.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Khang&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 28 Sep 2021 18:30:55 GMT</pubDate>
    <dc:creator>Khang_N_Intel</dc:creator>
    <dc:date>2021-09-28T18:30:55Z</dc:date>
    <item>
      <title>Memory / data race problems in DGETRI</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1310081#M31931</link>
      <description>&lt;P class="p1"&gt;I have a problem that was originally detected within a large software package, where a reasonably large (2224x2224) matrix inversion is catastrophically wrong with multiple threads.&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;To eliminate the influence of other errors in that code, I wrote a simple inversion code that reads the offending input (from binary) and calls the pertinent LAPACK routines; in this standalone code the answer with multiple threads is correct, but Intel Inspector shows a number of memory and data race errors.&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;The same errors in Inspector can be found when inverting an identity matrix, so it is easy to reproduce with the following code:&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;#include &amp;lt;cassert&amp;gt;
#include &amp;lt;cmath&amp;gt;
#include &amp;lt;cstdlib&amp;gt;
#include &amp;lt;fstream&amp;gt;
#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;vector&amp;gt;

// Fortran function declarations
extern "C" {
    extern int dgetrf_(int*, int*, double*, int*, int*, int*);
    extern int dgetri_(int*, double*, int*, int*, double*, int*, int*);
}

// C BLAS/LAPACK wrappers
int C_DGETRF(int m, int n, double* a, int lda, int* ipiv) {
    int info;
    dgetrf_(&amp;amp;m, &amp;amp;n, a, &amp;amp;lda, ipiv, &amp;amp;info);
    return info;
}

int C_DGETRI(int n, double* a, int lda, int* ipiv, double* work, int lwork) {
    int info;
    dgetri_(&amp;amp;n, a, &amp;amp;lda, ipiv, work, &amp;amp;lwork, &amp;amp;info);
    return info;
}

std::vector&amp;lt;double&amp;gt; invert(const std::vector&amp;lt;double&amp;gt; &amp;amp;matrix, int dim) {
    int lwork = dim * dim;
    std::vector&amp;lt;double&amp;gt; work(lwork);
    std::vector&amp;lt;int&amp;gt; ipiv(dim);
    std::vector&amp;lt;double&amp;gt; inverse(matrix);

    int err = C_DGETRF(dim, dim, inverse.data(), dim, ipiv.data());

    if (err != 0) {
        if (err &amp;lt; 0) {
            printf("invert: C_DGETRF: argument %d has invalid parameter.\n", -err);
            abort();
        }

        if (err &amp;gt; 1) {
            printf(
                "invert: C_DGETRF: the (%d,%d) element of the factor U or L is "
                "zero, and the inverse could not be computed.\n",
                err, err);
            abort();
        }
    }

    err = C_DGETRI(dim, inverse.data(), dim, ipiv.data(), work.data(), lwork);
    if (err != 0) {
        if (err &amp;lt; 0) {
            printf("invert: C_DGETRI: argument %d has invalid parameter.\n", -err);
            abort();
        }

        if (err &amp;gt; 1) {
            printf(
                "invert: C_DGETRI: the (%d,%d) element of the factor U or L is "
                "zero, and the inverse could not be computed.\n",
                err, err);
            abort();
        }
    }
    return inverse;
}

int main(int argc, char* argv[]) {
    const double TOL=1e-14;

    if (argc != 2) {
        printf("\nUsage:\n\n\t%s matrix_dim\n\n", argv[0]);
        exit(1);
    }
    const int N = std::atoi(argv[1]);
    printf("N = %d\n", N);

    std::vector&amp;lt;double&amp;gt; matrix(N*N, 0.0);
    for (int row = 0; row &amp;lt; N; ++row) {
        matrix[row * N + row] = 1.0;
    }

    auto inverse = invert(matrix, N);

    for (int row = 0; row &amp;lt; N; ++row) {
        assert( std::abs(inverse[row * N + row] - 1.0) &amp;lt; TOL );
    }
    return 0;
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I link this code against the &lt;A href="http://www.netlib.org/lapack/#_lapack_version_3_8_0" target="_blank" rel="noopener"&gt;Netlib LAPACK&lt;/A&gt;&amp;nbsp; implementation, it runs through Inspector without any of the memory / data race errors.&amp;nbsp; So if the memory and data race errors that I see for this simple case are genuine problems, rather than false alerts, it is possibly the cause of the problem in the larger production code; can anybody on this forum offer me any advice about how to determine if this is a genuine problem inside DGETRI?&amp;nbsp; I have been running the minimal code with a 2224x2224 identity matrix, but the same errors can be observed with much smaller matrices.&amp;nbsp; The above code is set up to allow linking against LAPACK libraries with the original Fortran conventions, but I see similar problems if I try the MKL C interfaces instead.&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;The number of memory errors is constant with respect to &lt;FONT face="courier new,courier"&gt;OMP_NUM_THREADS&lt;/FONT&gt; and &lt;FONT face="courier new,courier"&gt;MKL_NUM_THREADS&lt;/FONT&gt;, but the number of data races observed does change depending on whether each of those variables are defined or not.&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;I did not see any changes with setting/unsetting &lt;FONT face="courier new,courier"&gt;MKL_DISABLE_FAST_MM&lt;/FONT&gt;.&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;The problem has been reproduced with a number of MKL versions and Linux platforms, including&lt;/P&gt;
&lt;P class="p1"&gt;OneAPI 2021.2.0 20210228, on Linux kernel 3.10.0-1160.36.2.el7.x86_64&lt;/P&gt;
&lt;P class="p1"&gt;(compiled by calling&amp;nbsp;&lt;FONT face="courier new,courier"&gt;icpc -mkl minimal_example.cc -std=c++14 -g&lt;/FONT&gt;)&lt;/P&gt;
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 19:18:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1310081#M31931</guid>
      <dc:creator>andysim</dc:creator>
      <dc:date>2021-08-26T19:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Memory / data race problems in DGETRI</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1310313#M31937</link>
      <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt;Intel Inspector shows a number of memory and data race errors.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please provide us with the exact errors that Intel Inspector shows&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, please help us with the exact steps you followed to run your reproducer code and check it with Intel Inspector.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It would be better if you also let us know the number of threads you used for executing this reproducer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lastly, could you also try executing your code in the latest version of MKL?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 12:32:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1310313#M31937</guid>
      <dc:creator>ArpitaP_Intel</dc:creator>
      <dc:date>2021-08-27T12:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Memory / data race problems in DGETRI</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1310424#M31940</link>
      <description>&lt;P&gt;Thank you very much for the rapid response. &amp;nbsp;I have upgraded OneAPI and am using the "classic" icpc version&amp;nbsp;&lt;SPAN&gt;2021.3.0 20210609 for the latest tests. &amp;nbsp;If I compile as stated above, I run Inspector in the following way (the actual choice of number of threads is arbitrary, and the problem can be reproduced with any choice).&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;gt; export OMP_NUM_THREADS=8

&amp;gt; export MKL_NUM_THREADS=8

&amp;gt; inspxe-cl -collect=mi3 -r report_mi3_omp8_mkl8_dim2224 -- ./a.out 2224                                                                                                   
N = 2224
  
8 new problem(s) found 
    4 Invalid memory access problem(s) detected 
    1 Missing allocation problem(s) detected 
    2 Uninitialized memory access problem(s) detected 
    1 Uninitialized partial memory access problem(s) detected 

&amp;gt; inspxe-cl -collect=ti3 -r report_ti3_omp8_mkl8_dim2224 -- ./a.out 2224                                                                                                   
N = 2224
Warning: One or more threads in the application accessed the stack of another thread. This may indicate one or more bugs in your application. Setting the Inspector to detect data races on stack accesses and running another analysis may help you locate these and other bugs.
  
1 new problem(s) found 
    1 Data race problem(s) detected &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have only pasted the summaries here to avoid spamming the forum, but I am happy to provide the detailed logs if you would like to see them. &amp;nbsp;If I inspect the detailed report, I see&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;libmkl_avx2.so.1!mkl_blas_avx2_xdscal - libmkl_avx2.so.1:0x52cde1&lt;/LI-CODE&gt;
&lt;P&gt;at the top of the stack for one of the invalid memory access errors. &amp;nbsp;To ensure this is not an AVX-specific issue, I ran the same tests on an older pre-AVX CPU and found the following:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;gt; export OMP_NUM_THREADS=8                                                                                                                                                 

&amp;gt; export MKL_NUM_THREADS=8                                                                                                                                                 

&amp;gt; inspxe-cl -collect=mi3 -r report_mi3_omp8_mkl8_dim2224_noavx -- ./a.out 2224
N = 2224
  
5 new problem(s) found 
    1 Missing allocation problem(s) detected 
    2 Uninitialized memory access problem(s) detected 
    2 Uninitialized partial memory access problem(s) detected 

&amp;gt; inspxe-cl -collect=ti3 -r report_ti3_omp8_mkl8_dim2224_noavx -- ./a.out 2224                                                                                             
N = 2224
Warning: One or more threads in the application accessed the stack of another thread. This may indicate one or more bugs in your application. Setting the Inspector to detect data races on stack accesses and running another analysis may help you locate these and other bugs.
  
2 new problem(s) found 
    2 Data race problem(s) detected &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While this indeed cleaned up some of the invalid memory accesses, it did not fix all of the problems. &amp;nbsp;Please let me know if I can provide any more information.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 18:17:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1310424#M31940</guid>
      <dc:creator>andysim</dc:creator>
      <dc:date>2021-08-27T18:17:04Z</dc:date>
    </item>
    <item>
      <title>Re:Memory / data race problems in DGETRI</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1311594#M31963</link>
      <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;If I link this code against the Netlib LAPACK&amp;nbsp;implementation, it runs through Inspector without any of the memory / data race errors.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please let us know the steps you followed to link the reproducer against Netlib LAPACK implementation.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Sep 2021 00:08:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1311594#M31963</guid>
      <dc:creator>ArpitaP_Intel</dc:creator>
      <dc:date>2021-09-02T00:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Memory / data race problems in DGETRI</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1311608#M31964</link>
      <description>&lt;P&gt;After downloading the Netlib code from the link in my original post, I made a build subdirectory in the untarred top level LAPACK directory. &amp;nbsp;To build the library from that newly created "&lt;FONT face="courier new,courier"&gt;/path/to/build_dir"&lt;/FONT&gt;&amp;nbsp;location, I ran&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CC=icc CXX=icpc FC=ifort cmake .. -DCMAKE_BUILD_TYPE=Debug
make -j 16&lt;/LI-CODE&gt;
&lt;P&gt;To then use that library in the reproducer code I ran&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;icpc minimal_example.cc  -std=c++14  -L/path/to/build_dir/lib -llapack -lblas /path/to/oneapi/compiler/linux/compiler/lib/intel64/libifcore.so  -g&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;Running inspector showed no issues:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;gt; inspxe-cl -collect=mi3 -r report_mi3_netlib_dim2224 -- ./a.out 2224                                                                                                   
N = 2224
  
0 new problem(s) found &lt;/LI-CODE&gt;
&lt;P&gt;Please let me know if you need any more details.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 02:04:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1311608#M31964</guid>
      <dc:creator>andysim</dc:creator>
      <dc:date>2021-09-02T02:04:00Z</dc:date>
    </item>
    <item>
      <title>Re:Memory / data race problems in DGETRI</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1312313#M31989</link>
      <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks for the information.&lt;/P&gt;&lt;P&gt;We are working on this internally. We will get back to you soon .&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Sep 2021 05:46:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1312313#M31989</guid>
      <dc:creator>ArpitaP_Intel</dc:creator>
      <dc:date>2021-09-06T05:46:44Z</dc:date>
    </item>
    <item>
      <title>Re:Memory / data race problems in DGETRI</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1313090#M32019</link>
      <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I was able to reproduce the issues you mentioned using Intel Inspector.  I tested your code in Ubuntu 20.04.3 LTS with oneMKL 2021.3.&lt;/P&gt;&lt;P&gt;Inspector showed the exact 8 problems as yours.&lt;/P&gt;&lt;P&gt;As for data race issue, inspector found up to 41 problems.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Anyway, I am going to escalate this issue to the developers.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We will let you know when this issue get fixed.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Khang&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Sep 2021 19:20:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1313090#M32019</guid>
      <dc:creator>Khang_N_Intel</dc:creator>
      <dc:date>2021-09-08T19:20:58Z</dc:date>
    </item>
    <item>
      <title>Re:Memory / data race problems in DGETRI</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1313691#M32027</link>
      <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I just want to let you know that our engineers are working hard on this issue. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;They discovered some issues on the function DGETRF.  They are doing a deeper analysis to  root-cause the issue.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I will let you know when they finish the analysis and when they will provide the fixes.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Khang&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Sep 2021 19:23:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1313691#M32027</guid>
      <dc:creator>Khang_N_Intel</dc:creator>
      <dc:date>2021-09-10T19:23:40Z</dc:date>
    </item>
    <item>
      <title>Re:Memory / data race problems in DGETRI</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1317806#M32110</link>
      <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The engineer was able identify the issues and is currently working on the fix for them.&lt;/P&gt;&lt;P&gt;I will let you know when they are available.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Khang&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Sep 2021 18:30:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1317806#M32110</guid>
      <dc:creator>Khang_N_Intel</dc:creator>
      <dc:date>2021-09-28T18:30:55Z</dc:date>
    </item>
    <item>
      <title>Re:Memory / data race problems in DGETRI</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1362710#M32771</link>
      <description>&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;After a thorough analysis on the issue, the team conclude that this is false-positive reported by the inspector because there is no failure resulted from this issue.  This is a known limitation of inspector:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/troubleshooting/false-positive-diagnostic-on-string-operations-reported-by-intel-inspector.html#:~:text=For%20memory%20errors%20it%20can,of%20issues%20%E2%80%9CFalse%20positives%E2%80%9D" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/articles/troubleshooting/false-positive-diagnostic-on-string-operations-reported-by-intel-inspector.html#:~:text=For%20memory%20errors%20it%20can,of%20issues%20%E2%80%9CFalse%20positives%E2%80%9D&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You can also read more at:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/develop/documentation/intel-inspector-2018-update-4-release-notes/top/issues-and-limitations.html" rel="noopener noreferrer" target="_blank"&gt;https://www.intel.com/content/www/us/en/develop/documentation/intel-inspector-2018-update-4-release-notes/top/issues-and-limitations.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Intel Inspector may report false positives for analyzed applications using customized synchronization primitives. Use of&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;_itt_notify to annotate your source code can reduce these false positives.&lt;/LI&gt;&lt;LI&gt;We have decided to NOT annotate our source code, because of the potential performance impact, given there is no demostrated FAILURE, other than an Inspector report.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Unless you experience an error in he output, otherwise, we conclude this is not an issue.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;There will be no more communication on this thread.  Please do not hesitate to open new threads should you have new questions/issues.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Khang&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Feb 2022 21:33:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/Memory-data-race-problems-in-DGETRI/m-p/1362710#M32771</guid>
      <dc:creator>Khang_N_Intel</dc:creator>
      <dc:date>2022-02-22T21:33:50Z</dc:date>
    </item>
  </channel>
</rss>

