<?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: Intel IPP Illegal value for border type in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1611753#M28731</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/46774"&gt;@Ruqiu_C_Intel&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here below there is a new version of the code snippet:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;stdlib.h&amp;gt;
#include &amp;lt;string.h&amp;gt;
#include &amp;lt;errno.h&amp;gt;
#include &amp;lt;libgen.h&amp;gt;

#include &amp;lt;jpeglib.h&amp;gt;

#include &amp;lt;ipp.h&amp;gt;

int main(int argc, char **argv)
{
    if (argc != 2) {
        fprintf(stderr, "usage: %s &amp;lt;filename&amp;gt;\n", argv[0]);
        exit(EXIT_FAILURE);
    }

    ippInit();

    const char *src_name = argv[1];
    FILE *src_file = fopen(src_name, "rb");
    if (src_file == NULL) {
        perror("fopen()");
        exit(EXIT_FAILURE);
    }

    struct jpeg_decompress_struct jpeg_dec;
    struct jpeg_error_mgr jpeg_err;

    jpeg_dec.err = jpeg_std_error(&amp;amp;jpeg_err);
    jpeg_create_decompress(&amp;amp;jpeg_dec);

    jpeg_stdio_src(&amp;amp;jpeg_dec, src_file);

    jpeg_read_header(&amp;amp;jpeg_dec, TRUE);

    jpeg_start_decompress(&amp;amp;jpeg_dec);

    const size_t src_width = (size_t) jpeg_dec.image_width;
    const size_t src_height = (size_t) jpeg_dec.image_height;

    const size_t dst_width = (size_t) 2560;
    const size_t dst_height = (size_t) 1400;

    const short num_channels = jpeg_dec.num_components;

    int row_stride = src_width * num_channels;
    Ipp8u *scanline_buffer[1] = { (Ipp8u *) ippsMalloc_8u(row_stride) };

    Ipp8u *srcIpp = (Ipp8u *) ippsMalloc_8u(src_width * src_height * num_channels);
    if (srcIpp == NULL) {
        fprintf(stderr, "There is not enough memory for allocating srcIpp\n");
        exit(EXIT_FAILURE);
    }

    while (jpeg_dec.output_scanline &amp;lt; src_height) {
        jpeg_read_scanlines(&amp;amp;jpeg_dec, scanline_buffer, 1);
        ippsCopy_8u(scanline_buffer[0], srcIpp + (jpeg_dec.output_scanline - 1) * row_stride, row_stride);
    }

    jpeg_finish_decompress(&amp;amp;jpeg_dec);
    jpeg_destroy_decompress(&amp;amp;jpeg_dec);

    if (fclose(src_file) == EOF) {
        perror("fclose()");
        exit(EXIT_FAILURE);
    }


    Ipp8u *dstIpp = (Ipp8u *) ippsMalloc_8u(dst_width * dst_height * num_channels);
    if (dstIpp == NULL) {
        fprintf(stderr, "There is not enough memory for allocating dstIpp\n");
        exit(EXIT_FAILURE);
    }

    IppiResizeSpec_32f *ippSpec = 0;
    int specSize = 0, initSize = 0, bufSize = 0;
    Ipp8u *ippBuffer = 0;
    Ipp8u *initBuf = 0;
    Ipp32u numChannels = 3;
    IppiPoint dstOffset = { 0, 0 };
    IppiBorderType border = ippBorderInMem;
    int srcStep = src_width * 3;
    int dstStep = dst_width * 3;
    IppiSize srcSize = { src_width, src_height };
    IppiSize dstSize = { dst_width, dst_height };
    IppStatus ippStatus;

    ippStatus = ippiResizeGetSize_8u(srcSize, dstSize, ippCubic, 0, &amp;amp;specSize, &amp;amp;initSize);
    if (ippStatus != ippStsNoErr) {
        fprintf(stderr, "ippiResizeGetSize_8u(): %s\n", ippGetStatusString(ippStatus));
        exit(EXIT_FAILURE);
    }

    initBuf = (Ipp8u *) ippsMalloc_8u(initSize);
    if (initBuf == NULL) {
        fprintf(stderr, "There is not enough memory for allocating initBuf\n");
        exit(EXIT_FAILURE);
    }

    ippSpec = (IppiResizeSpec_32f *) ippsMalloc_8u(specSize);
    if (ippSpec == NULL) {
        fprintf(stderr, "There is not enough memory for allocating ippSpec\n");
        exit(EXIT_FAILURE);
    }

    ippStatus = ippiResizeCubicInit_8u(srcSize, dstSize, 1, 1, ippSpec, initBuf);
    if (ippStatus != ippStsNoErr) {
        fprintf(stderr, "ippiResizeCubicInit_8u(): %s\n", ippGetStatusString(ippStatus));
        exit(EXIT_FAILURE);
    }

    ippsFree(initBuf);

    ippStatus = ippiResizeGetBufferSize_8u(ippSpec, dstSize, numChannels, &amp;amp;bufSize);
    if (ippStatus != ippStsNoErr) {
        fprintf(stderr, "ippiResizeGetBufferSize_8u(): %s\n", ippGetStatusString(ippStatus));
        exit(EXIT_FAILURE);
    }

    ippBuffer = (Ipp8u *) ippsMalloc_8u(bufSize);
    if (ippBuffer == NULL) {
        fprintf(stderr, "There is not enough memory for allocating ippBuffer\n");
        exit(EXIT_FAILURE);
    }

    ippStatus = ippiResizeCubic_8u_C3R(srcIpp, srcStep, dstIpp, dstStep, dstOffset, dstSize, border, 0, ippSpec, ippBuffer);
    if (ippStatus != ippStsNoErr) {
        fprintf(stderr, "ippiResizeCubic_8u_C3R(): %s\n", ippGetStatusString(ippStatus));
        exit(EXIT_FAILURE);
    }

    FILE *dst_file = fopen(basename(src_name), "wb");
    if (dst_file == NULL) {
        perror("fopen()");
        exit(EXIT_FAILURE);
    }

    if (fwrite(dstIpp, sizeof(*dstIpp), 1, dst_file) == -1) {
        perror("fwrite()");
        exit(EXIT_FAILURE);
    }

    if (fclose(dst_file) == EOF) {
        perror("fclose()");
        exit(EXIT_FAILURE);
    }

    ippsFree(ippSpec);
    ippsFree(ippBuffer);
    ippsFree(srcIpp);
    ippsFree(dstIpp);

    exit(EXIT_SUCCESS);
}&lt;/LI-CODE&gt;&lt;P&gt;is it safe to use &lt;STRONG&gt;ippsCopy_8u&lt;/STRONG&gt; in that way ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because I get the following error:&lt;/P&gt;&lt;LI-CODE lang="none"&gt;AddressSanitizer:DEADLYSIGNAL
=================================================================
==37803==ERROR: AddressSanitizer: SEGV on unknown address 0x70a7c9851e65 (pc 0x70a7d37a3d2f bp 0x000000000578 sp 0x7ffda9ed79d8 T0)
==37803==The signal is caused by a READ memory access.
    #0 0x70a7d37a3d2f in l9_ownRow3Cubic8u (/opt/intel/oneapi/ipp/2021.11/lib/libippil9.so.10.10+0x13a3d2f)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/opt/intel/oneapi/ipp/2021.11/lib/libippil9.so.10.10+0x13a3d2f) in l9_ownRow3Cubic8u
==37803==ABORTING&lt;/LI-CODE&gt;&lt;P&gt;It looks like it can't read properly the memory pointer to by &lt;STRONG&gt;scanline_buffer[0]&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sincerely&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gianluca&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2024 07:12:35 GMT</pubDate>
    <dc:creator>gcannata</dc:creator>
    <dc:date>2024-07-03T07:12:35Z</dc:date>
    <item>
      <title>Intel IPP Illegal value for border type</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1609010#M28713</link>
      <description>&lt;P&gt;I am trying to half the size of a JPEG width and height with Intel IPP but no matter what IppBorderType I use, Intel IPP returns me always an error.&lt;BR /&gt;&lt;BR /&gt;This is the code snippet&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;stdlib.h&amp;gt;
#include &amp;lt;string.h&amp;gt;
#include &amp;lt;errno.h&amp;gt;

#include &amp;lt;ipp.h&amp;gt;

int main(int argc, char **argv)
{
if (argc != 4) {
fprintf(stderr, "usage: %s &amp;lt;filename&amp;gt; &amp;lt;width&amp;gt; &amp;lt;height&amp;gt;\n", argv[0]);
exit(EXIT_FAILURE);
}

ippInit();

const char *src_name = argv[1];
FILE *src_file = fopen(src_name, "rb");
if (src_file == NULL) {
perror("fopen()");
exit(EXIT_FAILURE);
}

if (fseek(src_file, 0, SEEK_END) == -1) {
perror("fseek()");
exit(EXIT_FAILURE);
}

long src_len = ftell(src_file);
if (src_len == -1) {
perror("ftell()");
exit(EXIT_FAILURE);
}

rewind(src_file);

Ipp8u *srcIpp = (Ipp8u *) ippsMalloc_8u(src_len);
if (srcIpp == NULL) {
fprintf(stderr, "There is not enough memory for allocating srcIpp\n");
exit(EXIT_FAILURE);
}

if (fread(srcIpp, src_len, 1, src_file) == -1) {
perror("fread()");
exit(EXIT_FAILURE);
}

if (fclose(src_file) == EOF) {
perror("fclose()");
exit(EXIT_FAILURE);
}


const size_t src_width = (size_t) atol(argv[2]);
const size_t src_height = (size_t) atol(argv[3]);

const size_t dst_width = (size_t) src_width / 2;
const size_t dst_height = (size_t) src_height / 2;

const short num_channels = 3;

Ipp8u *dstIpp = (Ipp8u *) ippsMalloc_8u(dst_width * dst_height * num_channels);
if (dstIpp == NULL) {
fprintf(stderr, "There is not enough memory for allocating dstIpp\n");
exit(EXIT_FAILURE);
}

IppiResizeSpec_32f *ippSpec = 0;
int specSize = 0, initSize = 0, bufSize = 0;
Ipp8u *ippBuffer = 0;
Ipp8u *initBuf = 0;
Ipp32u numChannels = 3;
IppiPoint dstOffset = { 0, 0 };
IppiBorderType border = ippBorderDefault;
int srcStep = src_width * 3;
int dstStep = dst_width * 3;
IppiSize srcSize = { src_width, src_height };
IppiSize dstSize = { dst_width, dst_height };
IppStatus ippStatus;

ippStatus = ippiResizeGetSize_8u(srcSize, dstSize, ippCubic, 0, &amp;amp;specSize, &amp;amp;initSize);
if (ippStatus != ippStsNoErr) {
fprintf(stderr, "ippiResizeGetSize_8u(): %s\n", ippGetStatusString(ippStatus));
exit(EXIT_FAILURE);
}

initBuf = (Ipp8u *) ippsMalloc_8u(initSize);
if (initBuf == NULL) {
fprintf(stderr, "There is not enough memory for allocating initBuf\n");
exit(EXIT_FAILURE);
}

ippSpec = (IppiResizeSpec_32f *) ippsMalloc_8u(specSize);
if (ippSpec == NULL) {
fprintf(stderr, "There is not enough memory for allocating ippSpec\n");
exit(EXIT_FAILURE);
}

ippStatus = ippiResizeCubicInit_8u(srcSize, dstSize, 1, 1, ippSpec, initBuf);
if (ippStatus != ippStsNoErr) {
fprintf(stderr, "ippiResizeCubicInit_8u(): %s\n", ippGetStatusString(ippStatus));
exit(EXIT_FAILURE);
}

ippsFree(initBuf);

ippStatus = ippiResizeGetBufferSize_8u(ippSpec, dstSize, numChannels, &amp;amp;bufSize);
if (ippStatus != ippStsNoErr) {
fprintf(stderr, "ippiResizeGetBufferSize_8u(): %s\n", ippGetStatusString(ippStatus));
exit(EXIT_FAILURE);
}

ippBuffer = (Ipp8u *) ippsMalloc_8u(bufSize);
if (ippBuffer == NULL) {
fprintf(stderr, "There is not enough memory for allocating ippBuffer\n");
exit(EXIT_FAILURE);
}

ippStatus = ippiResizeCubic_8u_C3R(srcIpp, srcStep, dstIpp, dstStep, dstOffset, dstSize, border, 0, ippSpec, ippBuffer);
if (ippStatus != ippStsNoErr) {
fprintf(stderr, "ippiResizeCubic_8u_C3R(): %s\n", ippGetStatusString(ippStatus));
exit(EXIT_FAILURE);
}

FILE *dst_file = fopen("IPP.JPG", "wb");
if (dst_file == NULL) {
perror("fopen()");
exit(EXIT_FAILURE);
}

if (fwrite(dstIpp, sizeof(*dstIpp), 1, dst_file) == -1) {
perror("fwrite()");
exit(EXIT_FAILURE);
}

if (fclose(dst_file) == EOF) {
perror("fclose()");
exit(EXIT_FAILURE);
}

ippsFree(ippSpec);
ippsFree(ippBuffer);
ippsFree(srcIpp);
ippsFree(dstIpp);

exit(EXIT_SUCCESS);
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;But the following error arises:&lt;/P&gt;&lt;LI-CODE lang="none"&gt;ippiResizeCubic_8u_C3R(): ippStsBorderErr: Illegal value for border type&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;and if I change the border type to &lt;STRONG&gt;ippBorderConst&lt;/STRONG&gt; I get the following:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="none"&gt;AddressSanitizer:DEADLYSIGNAL
=================================================================
==18018==ERROR: AddressSanitizer: SEGV on unknown address 0x799774aa64c0 (pc 0x79976e59e807 bp 0x000000000000 sp 0x7ffe382618b0 T0)
==18018==The signal is caused by a READ memory access.
#0 0x79976e59e807 in l9_ownCalcBorderR3Cubic8u (/opt/intel/oneapi/ipp/2021.11/lib/libippil9.so.10.10+0x139e807)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/opt/intel/oneapi/ipp/2021.11/lib/libippil9.so.10.10+0x139e807) in l9_ownCalcBorderR3Cubic8u
==18018==ABORTING&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Code was compiled with:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="none"&gt;gcc -std=c11 -fsanitize=address -g -o test test.c -I/opt/intel/oneapi/ipp/2021.11/include/ -L/opt/intel/oneapi/ipp/2021.11/lib/ -lippcore -lipps -lippi&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;and run with:&lt;/P&gt;&lt;LI-CODE lang="none"&gt;LD_LIBRARY_PATH=/opt/intel/oneapi/ipp/2021.11/lib/ ./test &amp;lt;filename&amp;gt; &amp;lt;width&amp;gt; &amp;lt;height&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Some suggestions ?&lt;BR /&gt;&lt;BR /&gt;Gianluca&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jun 2024 17:50:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1609010#M28713</guid>
      <dc:creator>gcannata</dc:creator>
      <dc:date>2024-06-22T17:50:15Z</dc:date>
    </item>
    <item>
      <title>Re:Intel IPP Illegal value for border type</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1611671#M28727</link>
      <description>&lt;P&gt;Hi Gianluca,&lt;/P&gt;&lt;P&gt;Thank you for contacting to us.&lt;/P&gt;&lt;P&gt;We can reproduce the issue with your sample code. We will further investigating it internally and back to this thread once there is update.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ruqiu&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jul 2024 02:14:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1611671#M28727</guid>
      <dc:creator>Ruqiu_C_Intel</dc:creator>
      <dc:date>2024-07-03T02:14:32Z</dc:date>
    </item>
    <item>
      <title>Re:Intel IPP Illegal value for border type</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1611687#M28728</link>
      <description>&lt;P&gt;Hi  Gianluca,&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Please check IPP developer guide and reference document here: &lt;A href="https://www.intel.com/content/www/us/en/docs/ipp/developer-guide-reference/2021-11/resizecubic.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/docs/ipp/developer-guide-reference/2021-11/resizecubic.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The border values should be 4 below or mixed borders, after updating border value with the valid value, for example with ippBorderRepl, then issue disappear. &lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;TABLE class="ql-table-blob" border="0" style="max-width: 100%; color: rgb(38, 38, 38); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 16px;" width="90%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD valign="top" width="30%" class="noborder"&gt;&lt;P style="margin-bottom: 11px; line-height: 1.25;"&gt;&lt;SPAN class="parmname" style="font-family: monospace;"&gt;border&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" class="noborder"&gt;Type of border. Possible values are:&lt;TABLE cellspacing="0" cellpadding="4" border="0" width="100%" style="max-width: 100%; background-color: transparent;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD valign="top" width="30%" class="noborder"&gt;&lt;P style="margin-bottom: 11px; line-height: 1.25;"&gt;&lt;SPAN class="keyword"&gt;ippBorderRepl&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" class="noborder"&gt;Border is replicated from the edge pixels.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="30%" class="noborder"&gt;&lt;P style="margin-bottom: 11px; line-height: 1.25;"&gt;&lt;SPAN class="keyword"&gt;ippBorderInMem&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" class="noborder"&gt;Border is obtained from the source image pixels in memory.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="30%" class="noborder"&gt;&lt;P style="margin-bottom: 11px; line-height: 1.25;"&gt;&lt;SPAN class="keyword"&gt;ippBorderMirror&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" class="noborder"&gt;Border is obtained from the source image boundary pixels. Value can be specified via&amp;nbsp;&lt;SPAN class="option" style="font-family: monospace;"&gt;ippiResizeCubic*&lt;/SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;SPAN class="option" style="font-family: monospace;"&gt;ippiResizeCubic*_LT&lt;/SPAN&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD valign="top" width="30%" class="noborder"&gt;&lt;P style="margin-bottom: 11px; line-height: 1.25;"&gt;&lt;SPAN class="keyword"&gt;ippBorderMirrorR&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD valign="top" class="noborder"&gt;Border is obtained from the source image boundary pixels. The anchor cell value is replicated to the border pixels. Value can be specified via&amp;nbsp;&lt;SPAN class="option" style="font-family: monospace;"&gt;ippiResizeCubic*&lt;/SPAN&gt;&amp;nbsp;and&amp;nbsp;&lt;SPAN class="option" style="font-family: monospace;"&gt;ippiResizeCubic*_LT&lt;/SPAN&gt;.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="margin-bottom: 11px; line-height: 1.25;"&gt;Mixed borders are also supported. They can be obtained by the bitwise operation&amp;nbsp;&lt;SPAN class="keyword"&gt;OR&lt;/SPAN&gt;&amp;nbsp;between the&amp;nbsp;&lt;SPAN class="keyword"&gt;ippBorderRepl&lt;/SPAN&gt;&amp;nbsp;type and  the&amp;nbsp;&lt;SPAN class="keyword"&gt;ippBorderInMemTop&lt;/SPAN&gt;,&amp;nbsp;&lt;SPAN class="keyword"&gt;ippBorderInMemBottom&lt;/SPAN&gt;,&amp;nbsp;&lt;SPAN class="keyword"&gt;ippBorderInMemLeft&lt;/SPAN&gt;,&amp;nbsp;&lt;SPAN class="keyword"&gt;ippBorderInMemRight&lt;/SPAN&gt;&amp;nbsp;types.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ruqiu​&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 03 Jul 2024 02:46:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1611687#M28728</guid>
      <dc:creator>Ruqiu_C_Intel</dc:creator>
      <dc:date>2024-07-03T02:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: Intel IPP Illegal value for border type</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1611749#M28730</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/46774"&gt;@Ruqiu_C_Intel&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I change the borderType, for example, to &lt;STRONG&gt;&lt;SPAN class=""&gt;ippBorderRepl&lt;/SPAN&gt; &lt;/STRONG&gt;I get the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="none"&gt;AddressSanitizer:DEADLYSIGNAL
=================================================================
==29252==ERROR: AddressSanitizer: SEGV on unknown address 0x75588a389e00 (pc 0x755887b9e807 bp 0x000000000000 sp 0x7fff34fd7930 T0)
==29252==The signal is caused by a READ memory access.
    #0 0x755887b9e807 in l9_ownCalcBorderR3Cubic8u (/opt/intel/oneapi/ipp/2021.11/lib/libippil9.so.10.10+0x139e807)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/opt/intel/oneapi/ipp/2021.11/lib/libippil9.so.10.10+0x139e807) in l9_ownCalcBorderR3Cubic8u
==29252==ABORTING&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 06:51:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1611749#M28730</guid>
      <dc:creator>gcannata</dc:creator>
      <dc:date>2024-07-03T06:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Intel IPP Illegal value for border type</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1611753#M28731</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/46774"&gt;@Ruqiu_C_Intel&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here below there is a new version of the code snippet:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;stdlib.h&amp;gt;
#include &amp;lt;string.h&amp;gt;
#include &amp;lt;errno.h&amp;gt;
#include &amp;lt;libgen.h&amp;gt;

#include &amp;lt;jpeglib.h&amp;gt;

#include &amp;lt;ipp.h&amp;gt;

int main(int argc, char **argv)
{
    if (argc != 2) {
        fprintf(stderr, "usage: %s &amp;lt;filename&amp;gt;\n", argv[0]);
        exit(EXIT_FAILURE);
    }

    ippInit();

    const char *src_name = argv[1];
    FILE *src_file = fopen(src_name, "rb");
    if (src_file == NULL) {
        perror("fopen()");
        exit(EXIT_FAILURE);
    }

    struct jpeg_decompress_struct jpeg_dec;
    struct jpeg_error_mgr jpeg_err;

    jpeg_dec.err = jpeg_std_error(&amp;amp;jpeg_err);
    jpeg_create_decompress(&amp;amp;jpeg_dec);

    jpeg_stdio_src(&amp;amp;jpeg_dec, src_file);

    jpeg_read_header(&amp;amp;jpeg_dec, TRUE);

    jpeg_start_decompress(&amp;amp;jpeg_dec);

    const size_t src_width = (size_t) jpeg_dec.image_width;
    const size_t src_height = (size_t) jpeg_dec.image_height;

    const size_t dst_width = (size_t) 2560;
    const size_t dst_height = (size_t) 1400;

    const short num_channels = jpeg_dec.num_components;

    int row_stride = src_width * num_channels;
    Ipp8u *scanline_buffer[1] = { (Ipp8u *) ippsMalloc_8u(row_stride) };

    Ipp8u *srcIpp = (Ipp8u *) ippsMalloc_8u(src_width * src_height * num_channels);
    if (srcIpp == NULL) {
        fprintf(stderr, "There is not enough memory for allocating srcIpp\n");
        exit(EXIT_FAILURE);
    }

    while (jpeg_dec.output_scanline &amp;lt; src_height) {
        jpeg_read_scanlines(&amp;amp;jpeg_dec, scanline_buffer, 1);
        ippsCopy_8u(scanline_buffer[0], srcIpp + (jpeg_dec.output_scanline - 1) * row_stride, row_stride);
    }

    jpeg_finish_decompress(&amp;amp;jpeg_dec);
    jpeg_destroy_decompress(&amp;amp;jpeg_dec);

    if (fclose(src_file) == EOF) {
        perror("fclose()");
        exit(EXIT_FAILURE);
    }


    Ipp8u *dstIpp = (Ipp8u *) ippsMalloc_8u(dst_width * dst_height * num_channels);
    if (dstIpp == NULL) {
        fprintf(stderr, "There is not enough memory for allocating dstIpp\n");
        exit(EXIT_FAILURE);
    }

    IppiResizeSpec_32f *ippSpec = 0;
    int specSize = 0, initSize = 0, bufSize = 0;
    Ipp8u *ippBuffer = 0;
    Ipp8u *initBuf = 0;
    Ipp32u numChannels = 3;
    IppiPoint dstOffset = { 0, 0 };
    IppiBorderType border = ippBorderInMem;
    int srcStep = src_width * 3;
    int dstStep = dst_width * 3;
    IppiSize srcSize = { src_width, src_height };
    IppiSize dstSize = { dst_width, dst_height };
    IppStatus ippStatus;

    ippStatus = ippiResizeGetSize_8u(srcSize, dstSize, ippCubic, 0, &amp;amp;specSize, &amp;amp;initSize);
    if (ippStatus != ippStsNoErr) {
        fprintf(stderr, "ippiResizeGetSize_8u(): %s\n", ippGetStatusString(ippStatus));
        exit(EXIT_FAILURE);
    }

    initBuf = (Ipp8u *) ippsMalloc_8u(initSize);
    if (initBuf == NULL) {
        fprintf(stderr, "There is not enough memory for allocating initBuf\n");
        exit(EXIT_FAILURE);
    }

    ippSpec = (IppiResizeSpec_32f *) ippsMalloc_8u(specSize);
    if (ippSpec == NULL) {
        fprintf(stderr, "There is not enough memory for allocating ippSpec\n");
        exit(EXIT_FAILURE);
    }

    ippStatus = ippiResizeCubicInit_8u(srcSize, dstSize, 1, 1, ippSpec, initBuf);
    if (ippStatus != ippStsNoErr) {
        fprintf(stderr, "ippiResizeCubicInit_8u(): %s\n", ippGetStatusString(ippStatus));
        exit(EXIT_FAILURE);
    }

    ippsFree(initBuf);

    ippStatus = ippiResizeGetBufferSize_8u(ippSpec, dstSize, numChannels, &amp;amp;bufSize);
    if (ippStatus != ippStsNoErr) {
        fprintf(stderr, "ippiResizeGetBufferSize_8u(): %s\n", ippGetStatusString(ippStatus));
        exit(EXIT_FAILURE);
    }

    ippBuffer = (Ipp8u *) ippsMalloc_8u(bufSize);
    if (ippBuffer == NULL) {
        fprintf(stderr, "There is not enough memory for allocating ippBuffer\n");
        exit(EXIT_FAILURE);
    }

    ippStatus = ippiResizeCubic_8u_C3R(srcIpp, srcStep, dstIpp, dstStep, dstOffset, dstSize, border, 0, ippSpec, ippBuffer);
    if (ippStatus != ippStsNoErr) {
        fprintf(stderr, "ippiResizeCubic_8u_C3R(): %s\n", ippGetStatusString(ippStatus));
        exit(EXIT_FAILURE);
    }

    FILE *dst_file = fopen(basename(src_name), "wb");
    if (dst_file == NULL) {
        perror("fopen()");
        exit(EXIT_FAILURE);
    }

    if (fwrite(dstIpp, sizeof(*dstIpp), 1, dst_file) == -1) {
        perror("fwrite()");
        exit(EXIT_FAILURE);
    }

    if (fclose(dst_file) == EOF) {
        perror("fclose()");
        exit(EXIT_FAILURE);
    }

    ippsFree(ippSpec);
    ippsFree(ippBuffer);
    ippsFree(srcIpp);
    ippsFree(dstIpp);

    exit(EXIT_SUCCESS);
}&lt;/LI-CODE&gt;&lt;P&gt;is it safe to use &lt;STRONG&gt;ippsCopy_8u&lt;/STRONG&gt; in that way ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Because I get the following error:&lt;/P&gt;&lt;LI-CODE lang="none"&gt;AddressSanitizer:DEADLYSIGNAL
=================================================================
==37803==ERROR: AddressSanitizer: SEGV on unknown address 0x70a7c9851e65 (pc 0x70a7d37a3d2f bp 0x000000000578 sp 0x7ffda9ed79d8 T0)
==37803==The signal is caused by a READ memory access.
    #0 0x70a7d37a3d2f in l9_ownRow3Cubic8u (/opt/intel/oneapi/ipp/2021.11/lib/libippil9.so.10.10+0x13a3d2f)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/opt/intel/oneapi/ipp/2021.11/lib/libippil9.so.10.10+0x13a3d2f) in l9_ownRow3Cubic8u
==37803==ABORTING&lt;/LI-CODE&gt;&lt;P&gt;It looks like it can't read properly the memory pointer to by &lt;STRONG&gt;scanline_buffer[0]&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sincerely&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gianluca&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2024 07:12:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1611753#M28731</guid>
      <dc:creator>gcannata</dc:creator>
      <dc:date>2024-07-03T07:12:35Z</dc:date>
    </item>
    <item>
      <title>Re:Intel IPP Illegal value for border type</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1612146#M28735</link>
      <description>&lt;P&gt;Hi Gianluca,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We can't reproduce the issue with border type "&lt;STRONG&gt;ippBorderInMem&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;&lt;EM&gt;# gcc -std=c11 -fsanitize=address -g&amp;nbsp;-o test resizeCubic_8u.c -I/opt/intel/oneapi/ipp/2021.11/include/ -L/opt/intel/oneapi/ipp/2021.11/lib/ -lippcore -lipps -lippi&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;# ./test Screenshot.jpg 300 300&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;#&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;For your new sample code, there is compile error as need extra jpeg lib support, please remove all &lt;SPAN style="font-size: 14px; font-family: Consolas, Monaco, &amp;quot;Andale Mono&amp;quot;, &amp;quot;Ubuntu Mono&amp;quot;, monospace;"&gt;jpeglib &lt;/SPAN&gt;relate code, only keep IPP relate part. &lt;/P&gt;&lt;P&gt;We know you are using IPP 2021.11 version, but we don't know what's your OS, CPU platform, GCC version, etc. It would good if you can provide out more information for your system.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;​Ruqiu&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jul 2024 07:41:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1612146#M28735</guid>
      <dc:creator>Ruqiu_C_Intel</dc:creator>
      <dc:date>2024-07-04T07:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Intel IPP Illegal value for border type</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1612151#M28737</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/46774"&gt;@Ruqiu_C_Intel&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;below the revised code without jpeglib code:&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;&lt;LI-CODE lang="cpp"&gt;#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;stdlib.h&amp;gt;
#include &amp;lt;string.h&amp;gt;
#include &amp;lt;errno.h&amp;gt;

#include &amp;lt;ipp.h&amp;gt;

int main(int argc, char **argv)
{
if (argc != 4) {
fprintf(stderr, "usage: %s &amp;lt;filename&amp;gt; &amp;lt;width&amp;gt; &amp;lt;height&amp;gt;\n", argv[0]);
exit(EXIT_FAILURE);
}

ippInit();

const char *src_name = argv[1];
FILE *src_file = fopen(src_name, "rb");
if (src_file == NULL) {
perror("fopen()");
exit(EXIT_FAILURE);
}

if (fseek(src_file, 0, SEEK_END) == -1) {
perror("fseek()");
exit(EXIT_FAILURE);
}

long src_len = ftell(src_file);
if (src_len == -1) {
perror("ftell()");
exit(EXIT_FAILURE);
}

rewind(src_file);

Ipp8u *srcIpp = (Ipp8u *) ippsMalloc_8u(src_len);
if (srcIpp == NULL) {
fprintf(stderr, "There is not enough memory for allocating srcIpp\n");
exit(EXIT_FAILURE);
}

if (fread(srcIpp, src_len, 1, src_file) == -1) {
perror("fread()");
exit(EXIT_FAILURE);
}

if (fclose(src_file) == EOF) {
perror("fclose()");
exit(EXIT_FAILURE);
}


const size_t src_width = (size_t) atol(argv[2]);
const size_t src_height = (size_t) atol(argv[3]);

const size_t dst_width = (size_t) src_width / 2;
const size_t dst_height = (size_t) src_height / 2;

const short num_channels = 3;

Ipp8u *dstIpp = (Ipp8u *) ippsMalloc_8u(dst_width * dst_height * num_channels);
if (dstIpp == NULL) {
fprintf(stderr, "There is not enough memory for allocating dstIpp\n");
exit(EXIT_FAILURE);
}

IppiResizeSpec_32f *ippSpec = 0;
int specSize = 0, initSize = 0, bufSize = 0;
Ipp8u *ippBuffer = 0;
Ipp8u *initBuf = 0;
Ipp32u numChannels = 3;
IppiPoint dstOffset = { 0, 0 };
IppiBorderType border = ippBorderInMem;
int srcStep = src_width * 3;
int dstStep = dst_width * 3;
IppiSize srcSize = { src_width, src_height };
IppiSize dstSize = { dst_width, dst_height };
IppStatus ippStatus;

ippStatus = ippiResizeGetSize_8u(srcSize, dstSize, ippCubic, 0, &amp;amp;specSize, &amp;amp;initSize);
if (ippStatus != ippStsNoErr) {
fprintf(stderr, "ippiResizeGetSize_8u(): %s\n", ippGetStatusString(ippStatus));
exit(EXIT_FAILURE);
}

initBuf = (Ipp8u *) ippsMalloc_8u(initSize);
if (initBuf == NULL) {
fprintf(stderr, "There is not enough memory for allocating initBuf\n");
exit(EXIT_FAILURE);
}

ippSpec = (IppiResizeSpec_32f *) ippsMalloc_8u(specSize);
if (ippSpec == NULL) {
fprintf(stderr, "There is not enough memory for allocating ippSpec\n");
exit(EXIT_FAILURE);
}

ippStatus = ippiResizeCubicInit_8u(srcSize, dstSize, 1, 1, ippSpec, initBuf);
if (ippStatus != ippStsNoErr) {
fprintf(stderr, "ippiResizeCubicInit_8u(): %s\n", ippGetStatusString(ippStatus));
exit(EXIT_FAILURE);
}

ippsFree(initBuf);

ippStatus = ippiResizeGetBufferSize_8u(ippSpec, dstSize, numChannels, &amp;amp;bufSize);
if (ippStatus != ippStsNoErr) {
fprintf(stderr, "ippiResizeGetBufferSize_8u(): %s\n", ippGetStatusString(ippStatus));
exit(EXIT_FAILURE);
}

ippBuffer = (Ipp8u *) ippsMalloc_8u(bufSize);
if (ippBuffer == NULL) {
fprintf(stderr, "There is not enough memory for allocating ippBuffer\n");
exit(EXIT_FAILURE);
}

ippStatus = ippiResizeCubic_8u_C3R(srcIpp, srcStep, dstIpp, dstStep, dstOffset, dstSize, border, 0, ippSpec, ippBuffer);
if (ippStatus != ippStsNoErr) {
fprintf(stderr, "ippiResizeCubic_8u_C3R(): %s\n", ippGetStatusString(ippStatus));
exit(EXIT_FAILURE);
}

FILE *dst_file = fopen("IPP.JPG", "wb");
if (dst_file == NULL) {
perror("fopen()");
exit(EXIT_FAILURE);
}

size_t dst_len = dst_width * dst_height * num_channels;
if (fwrite(dstIpp, dst_len, 1, dst_file) == -1) {
perror("fwrite()");
exit(EXIT_FAILURE);
}

if (fclose(dst_file) == EOF) {
perror("fclose()");
exit(EXIT_FAILURE);
}

ippsFree(ippSpec);
ippsFree(ippBuffer);
ippsFree(srcIpp);
ippsFree(dstIpp);

exit(EXIT_SUCCESS);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and this is the error I get:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="none"&gt;LD_LIBRARY_PATH=/opt/intel/oneapi/ipp/2021.11/lib/ ./test2 /home/gianluca/Pictures/Gianluca/Bagaggera/DSCF7265.JPG 4936 3296
AddressSanitizer:DEADLYSIGNAL
=================================================================
==314903==ERROR: AddressSanitizer: SEGV on unknown address 0x7dc22158724d (pc 0x7dc21eda3d2f bp 0x7dc224cd63e0 sp 0x7ffd3ed98718 T0)
==314903==The signal is caused by a READ memory access.
    #0 0x7dc21eda3d2f in l9_ownRow3Cubic8u (/opt/intel/oneapi/ipp/2021.11/lib/libippil9.so.10.10+0x13a3d2f)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/opt/intel/oneapi/ipp/2021.11/lib/libippil9.so.10.10+0x13a3d2f) in l9_ownRow3Cubic8u
==314903==ABORTING&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attach the sample JPG I am using for the tests.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And finally this is the informations of my system:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="none"&gt;Linux XPS-9320 6.5.0-1025-oem #26-Ubuntu SMP PREEMPT_DYNAMIC Tue Jun 18 12:35:22 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 186
model name	: 13th Gen Intel(R) Core(TM) i7-1360P
stepping	: 2
microcode	: 0x4121
cpu MHz		: 539.267
cache size	: 18432 KB
physical id	: 0
siblings	: 16
core id		: 0
cpu cores	: 12
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 32
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs		: coma tlb_mmatch spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb bhi
bogomips	: 5222.40
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 6
model		: 186
model name	: 13th Gen Intel(R) Core(TM) i7-1360P
stepping	: 2
microcode	: 0x4121
cpu MHz		: 400.000
cache size	: 18432 KB
physical id	: 0
siblings	: 16
core id		: 0
cpu cores	: 12
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 32
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs		: coma tlb_mmatch spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb bhi
bogomips	: 5222.40
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 2
vendor_id	: GenuineIntel
cpu family	: 6
model		: 186
model name	: 13th Gen Intel(R) Core(TM) i7-1360P
stepping	: 2
microcode	: 0x4121
cpu MHz		: 400.000
cache size	: 18432 KB
physical id	: 0
siblings	: 16
core id		: 4
cpu cores	: 12
apicid		: 8
initial apicid	: 8
fpu		: yes
fpu_exception	: yes
cpuid level	: 32
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs		: coma tlb_mmatch spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb bhi
bogomips	: 5222.40
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 186
model name	: 13th Gen Intel(R) Core(TM) i7-1360P
stepping	: 2
microcode	: 0x4121
cpu MHz		: 400.000
cache size	: 18432 KB
physical id	: 0
siblings	: 16
core id		: 4
cpu cores	: 12
apicid		: 9
initial apicid	: 9
fpu		: yes
fpu_exception	: yes
cpuid level	: 32
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs		: coma tlb_mmatch spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb bhi
bogomips	: 5222.40
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 4
vendor_id	: GenuineIntel
cpu family	: 6
model		: 186
model name	: 13th Gen Intel(R) Core(TM) i7-1360P
stepping	: 2
microcode	: 0x4121
cpu MHz		: 812.542
cache size	: 18432 KB
physical id	: 0
siblings	: 16
core id		: 8
cpu cores	: 12
apicid		: 16
initial apicid	: 16
fpu		: yes
fpu_exception	: yes
cpuid level	: 32
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs		: coma tlb_mmatch spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb bhi
bogomips	: 5222.40
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 5
vendor_id	: GenuineIntel
cpu family	: 6
model		: 186
model name	: 13th Gen Intel(R) Core(TM) i7-1360P
stepping	: 2
microcode	: 0x4121
cpu MHz		: 908.252
cache size	: 18432 KB
physical id	: 0
siblings	: 16
core id		: 8
cpu cores	: 12
apicid		: 17
initial apicid	: 17
fpu		: yes
fpu_exception	: yes
cpuid level	: 32
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs		: coma tlb_mmatch spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb bhi
bogomips	: 5222.40
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 6
vendor_id	: GenuineIntel
cpu family	: 6
model		: 186
model name	: 13th Gen Intel(R) Core(TM) i7-1360P
stepping	: 2
microcode	: 0x4121
cpu MHz		: 1387.130
cache size	: 18432 KB
physical id	: 0
siblings	: 16
core id		: 12
cpu cores	: 12
apicid		: 24
initial apicid	: 24
fpu		: yes
fpu_exception	: yes
cpuid level	: 32
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs		: coma tlb_mmatch spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb bhi
bogomips	: 5222.40
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 7
vendor_id	: GenuineIntel
cpu family	: 6
model		: 186
model name	: 13th Gen Intel(R) Core(TM) i7-1360P
stepping	: 2
microcode	: 0x4121
cpu MHz		: 400.000
cache size	: 18432 KB
physical id	: 0
siblings	: 16
core id		: 12
cpu cores	: 12
apicid		: 25
initial apicid	: 25
fpu		: yes
fpu_exception	: yes
cpuid level	: 32
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs		: coma tlb_mmatch spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb bhi
bogomips	: 5222.40
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 8
vendor_id	: GenuineIntel
cpu family	: 6
model		: 186
model name	: 13th Gen Intel(R) Core(TM) i7-1360P
stepping	: 2
microcode	: 0x4121
cpu MHz		: 845.719
cache size	: 18432 KB
physical id	: 0
siblings	: 16
core id		: 16
cpu cores	: 12
apicid		: 32
initial apicid	: 32
fpu		: yes
fpu_exception	: yes
cpuid level	: 32
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs		: coma tlb_mmatch spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb bhi
bogomips	: 5222.40
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 9
vendor_id	: GenuineIntel
cpu family	: 6
model		: 186
model name	: 13th Gen Intel(R) Core(TM) i7-1360P
stepping	: 2
microcode	: 0x4121
cpu MHz		: 400.000
cache size	: 18432 KB
physical id	: 0
siblings	: 16
core id		: 17
cpu cores	: 12
apicid		: 34
initial apicid	: 34
fpu		: yes
fpu_exception	: yes
cpuid level	: 32
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs		: coma tlb_mmatch spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb bhi
bogomips	: 5222.40
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 10
vendor_id	: GenuineIntel
cpu family	: 6
model		: 186
model name	: 13th Gen Intel(R) Core(TM) i7-1360P
stepping	: 2
microcode	: 0x4121
cpu MHz		: 400.000
cache size	: 18432 KB
physical id	: 0
siblings	: 16
core id		: 18
cpu cores	: 12
apicid		: 36
initial apicid	: 36
fpu		: yes
fpu_exception	: yes
cpuid level	: 32
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs		: coma tlb_mmatch spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb bhi
bogomips	: 5222.40
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 11
vendor_id	: GenuineIntel
cpu family	: 6
model		: 186
model name	: 13th Gen Intel(R) Core(TM) i7-1360P
stepping	: 2
microcode	: 0x4121
cpu MHz		: 400.000
cache size	: 18432 KB
physical id	: 0
siblings	: 16
core id		: 19
cpu cores	: 12
apicid		: 38
initial apicid	: 38
fpu		: yes
fpu_exception	: yes
cpuid level	: 32
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs		: coma tlb_mmatch spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb bhi
bogomips	: 5222.40
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 12
vendor_id	: GenuineIntel
cpu family	: 6
model		: 186
model name	: 13th Gen Intel(R) Core(TM) i7-1360P
stepping	: 2
microcode	: 0x4121
cpu MHz		: 400.000
cache size	: 18432 KB
physical id	: 0
siblings	: 16
core id		: 20
cpu cores	: 12
apicid		: 40
initial apicid	: 40
fpu		: yes
fpu_exception	: yes
cpuid level	: 32
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs		: coma tlb_mmatch spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb bhi
bogomips	: 5222.40
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 13
vendor_id	: GenuineIntel
cpu family	: 6
model		: 186
model name	: 13th Gen Intel(R) Core(TM) i7-1360P
stepping	: 2
microcode	: 0x4121
cpu MHz		: 400.000
cache size	: 18432 KB
physical id	: 0
siblings	: 16
core id		: 21
cpu cores	: 12
apicid		: 42
initial apicid	: 42
fpu		: yes
fpu_exception	: yes
cpuid level	: 32
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs		: coma tlb_mmatch spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb bhi
bogomips	: 5222.40
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 14
vendor_id	: GenuineIntel
cpu family	: 6
model		: 186
model name	: 13th Gen Intel(R) Core(TM) i7-1360P
stepping	: 2
microcode	: 0x4121
cpu MHz		: 400.000
cache size	: 18432 KB
physical id	: 0
siblings	: 16
core id		: 22
cpu cores	: 12
apicid		: 44
initial apicid	: 44
fpu		: yes
fpu_exception	: yes
cpuid level	: 32
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs		: coma tlb_mmatch spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb bhi
bogomips	: 5222.40
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

processor	: 15
vendor_id	: GenuineIntel
cpu family	: 6
model		: 186
model name	: 13th Gen Intel(R) Core(TM) i7-1360P
stepping	: 2
microcode	: 0x4121
cpu MHz		: 400.000
cache size	: 18432 KB
physical id	: 0
siblings	: 16
core id		: 23
cpu cores	: 12
apicid		: 46
initial apicid	: 46
fpu		: yes
fpu_exception	: yes
cpuid level	: 32
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect avx_vnni dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req hfi vnmi umip pku ospke waitpkg gfni vaes vpclmulqdq rdpid movdiri movdir64b fsrm md_clear serialize arch_lbr ibt flush_l1d arch_capabilities
vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs ept_mode_based_exec tsc_scaling usr_wait_pause
bugs		: coma tlb_mmatch spectre_v1 spectre_v2 spec_store_bypass swapgs eibrs_pbrsb bhi
bogomips	: 5222.40
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sincerely&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gianluca&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jul 2024 08:21:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1612151#M28737</guid>
      <dc:creator>gcannata</dc:creator>
      <dc:date>2024-07-04T08:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Intel IPP Illegal value for border type</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1612190#M28740</link>
      <description>&lt;P&gt;Ah, one more thing; GNU gcc compiler is what follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="none"&gt;gcc-12 --version
gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 04 Jul 2024 09:20:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1612190#M28740</guid>
      <dc:creator>gcannata</dc:creator>
      <dc:date>2024-07-04T09:20:05Z</dc:date>
    </item>
    <item>
      <title>Re:Intel IPP Illegal value for border type</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1612866#M28743</link>
      <description>&lt;P&gt;Please set sreStep and dstStep equals 0, and then use src/dst allocate memory to calculate srcStep and dstStep. For example:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;      int srcStep = 0;//src_width * 3;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;    &amp;nbsp;int dstStep = 0;//dst_width * 3;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;    Ipp8u *srcIpp = ippiMalloc_8u_C3(srcSize.width, srcSize.height, &amp;amp;srcStep);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;    Ipp8u *dstIpp = ippiMalloc_8u_C3(dstSize.width, dstSize.height, &amp;amp;dstStep);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You might also need call get border size: &lt;A href="https://www.intel.com/content/www/us/en/docs/ipp/developer-guide-reference/2021-12/resizegetbordersize.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/docs/ipp/developer-guide-reference/2021-12/resizegetbordersize.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Jul 2024 06:13:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1612866#M28743</guid>
      <dc:creator>Ruqiu_C_Intel</dc:creator>
      <dc:date>2024-07-08T06:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Intel IPP Illegal value for border type</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1612895#M28744</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you &lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/46774"&gt;@Ruqiu_C_Intel&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this could be it ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;stdlib.h&amp;gt;
#include &amp;lt;string.h&amp;gt;
#include &amp;lt;errno.h&amp;gt;

#include &amp;lt;ipp.h&amp;gt;

int main(int argc, char **argv)
{
if (argc != 3) {
fprintf(stderr, "usage: %s &amp;lt;filename&amp;gt;.JPG &amp;lt;filename&amp;gt;.JPG\n", argv[0]);
exit(EXIT_FAILURE);
}

ippInit();

const char *src_name = argv[1];
FILE *src_file = fopen(src_name, "rb");
if (src_file == NULL) {
perror("fopen()");
exit(EXIT_FAILURE);
}

const size_t src_width = 4896;
const size_t src_height = 3264;

const size_t dst_width = 2560;
const size_t dst_height = 1400;

const short num_channels = 3;

IppiResizeSpec_32f *ippSpec;
IppiBorderSize ippBorderSize = {0, 0, 0, 0};
int specSize = 0, initSize = 0, bufSize = 0;
Ipp8u *ippBuffer = 0;
Ipp8u *initBuf = 0;
Ipp32u numChannels = 3;
IppiPoint dstOffset = { 0, 0 };
IppiBorderType border = ippBorderInMem;
int srcStep = 0;
int dstStep = 0;
IppiSize srcSize = { src_width, src_height };
IppiSize dstSize = { dst_width, dst_height };
IppStatus ippStatus;

Ipp8u *srcIpp = (Ipp8u *) ippiMalloc_8u_C3(srcSize.width, srcSize.height, &amp;amp;srcStep);
if (srcIpp == NULL) {
fprintf(stderr, "There is not enough memory for allocating srcIpp\n");
exit(EXIT_FAILURE);
}

fread(srcIpp, src_width, 1, src_file);

if (fclose(src_file) == EOF) {
perror("fclose()");
exit(EXIT_FAILURE);
}

Ipp8u *dstIpp = (Ipp8u *) ippiMalloc_8u_C3(dstSize.width, dstSize.height, &amp;amp;dstStep);
if (dstIpp == NULL) {
fprintf(stderr, "There is not enough memory for allocating dstIpp\n");
exit(EXIT_FAILURE);
}

ippStatus = ippiResizeGetSize_8u(srcSize, dstSize, ippCubic, 0, &amp;amp;specSize, &amp;amp;initSize);
if (ippStatus != ippStsNoErr) {
fprintf(stderr, "ippiResizeGetSize_8u(): %s\n", ippGetStatusString(ippStatus));
exit(EXIT_FAILURE);
}

initBuf = (Ipp8u *) ippsMalloc_8u(initSize);
if (initBuf == NULL) {
fprintf(stderr, "There is not enough memory for allocating initBuf\n");
exit(EXIT_FAILURE);
}

ippSpec = (IppiResizeSpec_32f *) ippsMalloc_8u(specSize);
if (ippSpec == NULL) {
fprintf(stderr, "There is not enough memory for allocating ippSpec\n");
exit(EXIT_FAILURE);
}

ippStatus = ippiResizeCubicInit_8u(srcSize, dstSize, -0.5, 0.25, ippSpec, initBuf);
if (ippStatus != ippStsNoErr) {
fprintf(stderr, "ippiResizeCubicInit_8u(): %s\n", ippGetStatusString(ippStatus));
exit(EXIT_FAILURE);
}

ippStatus = ippiResizeGetBorderSize_8u(ippSpec, &amp;amp;ippBorderSize);
if (ippStatus != ippStsNoErr) {
fprintf(stderr, "ippiResizeGetBorderSize_8u(): %s\n", ippGetStatusString(ippStatus));
exit(EXIT_FAILURE);
}

ippsFree(initBuf);

ippStatus = ippiResizeGetBufferSize_8u(ippSpec, dstSize, numChannels, &amp;amp;bufSize);
if (ippStatus != ippStsNoErr) {
fprintf(stderr, "ippiResizeGetBufferSize_8u(): %s\n", ippGetStatusString(ippStatus));
exit(EXIT_FAILURE);
}

ippBuffer = (Ipp8u *) ippsMalloc_8u(bufSize);
if (ippBuffer == NULL) {
fprintf(stderr, "There is not enough memory for allocating ippBuffer\n");
exit(EXIT_FAILURE);
}

ippStatus = ippiResizeCubic_8u_C3R(srcIpp, srcStep, dstIpp, dstStep, dstOffset, dstSize, border, NULL, ippSpec, ippBuffer);
if (ippStatus != ippStsNoErr) {
fprintf(stderr, "ippiResizeCubic_8u_C3R(): %s\n", ippGetStatusString(ippStatus));
exit(EXIT_FAILURE);
}

FILE *dst_file = fopen(argv[2], "wb");
if (dst_file == NULL) {
perror("fopen()");
exit(EXIT_FAILURE);
}

fwrite(dstIpp, dst_width * dst_height * num_channels, 1, dst_file);

if (fclose(dst_file) == EOF) {
perror("fclose()");
exit(EXIT_FAILURE);
}

ippsFree(ippSpec);
ippsFree(ippBuffer);
ippsFree(srcIpp);
ippsFree(dstIpp);

exit(EXIT_SUCCESS);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Gianluca&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 07:48:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1612895#M28744</guid>
      <dc:creator>gcannata</dc:creator>
      <dc:date>2024-07-08T07:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Intel IPP Illegal value for border type</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1685679#M29074</link>
      <description>&lt;P&gt;Hi Gianluca,&lt;/P&gt;
&lt;P&gt;Thank you for your patient.&lt;/P&gt;
&lt;P&gt;Your update looks good. You can also refer to IPP sample code in the installer path: C:\Program Files (x86)\Intel\oneAPI\ipp\2022.0\share\doc\ipp\components_and_examples_win.zip\components\examples_core\ipp_resize_mt&lt;SPAN&gt;/ipp_resize_mt.cpp&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Ruqiu&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Apr 2025 01:13:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Intel-IPP-Illegal-value-for-border-type/m-p/1685679#M29074</guid>
      <dc:creator>Ruqiu_C_Intel</dc:creator>
      <dc:date>2025-04-27T01:13:23Z</dc:date>
    </item>
  </channel>
</rss>

