<?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: Computer bench test LocalToneMapping issues in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1195533#M6800</link>
    <description>&lt;P&gt;Hi Sergey,&lt;/P&gt;
&lt;P&gt;Are you working at Intel? If you are an employee of Intel, could you or your team may fix this issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks Alfred&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jul 2020 06:02:34 GMT</pubDate>
    <dc:creator>alfreddong</dc:creator>
    <dc:date>2020-07-29T06:02:34Z</dc:date>
    <item>
      <title>Computer bench test LocalToneMapping issues</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1190070#M6783</link>
      <description>&lt;P&gt;It is running&amp;nbsp; properly when I use the computer bench 2.0 AP test Intel GPU(UHD Graphics 630) bench-mark score. However, it return the wrong number(-59) at&amp;nbsp;&lt;SPAN style="font-family: inherit;"&gt;clEnqueueNDRangeKernel() when executing the kernel named&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;createRipMapX and&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;createRipMapY of LocalToneMapping script case.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 01:39:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1190070#M6783</guid>
      <dc:creator>alfreddong</dc:creator>
      <dc:date>2020-07-07T01:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: Computer bench test LocalToneMapping issues</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1190167#M6784</link>
      <description>&lt;P&gt;I want to know why these two kernels in LocalToneMapping case can not running on intel GPU UHD 630 separately, but the whole LocalToneMapping can run normally......&lt;/P&gt;
&lt;P&gt;__kernel &lt;BR /&gt;void createRipMapX(__read_write image2d_t ripmap, const int offset, const int sizeX)&lt;BR /&gt;{&lt;BR /&gt;const uint idX = get_global_id(0);&lt;BR /&gt;const uint idY = get_global_id(1);&lt;BR /&gt;const uint globalSizeX = get_global_size(0);&lt;BR /&gt;&lt;BR /&gt;float A = read_imagef(ripmap, (int2)(offset + 2*idX + 0, idY)).x;&lt;BR /&gt;float B = read_imagef(ripmap, (int2)(offset + 2*idX + 1, idY)).x;&lt;BR /&gt;write_imagef(ripmap, (int2)(offset + 2*globalSizeX + idX, idY), (A+B));&lt;BR /&gt;&lt;BR /&gt;if(globalSizeX == 1)&lt;BR /&gt;return;&lt;BR /&gt;&lt;BR /&gt;if (idX == 0 &amp;amp;&amp;amp; idY == 0)&lt;BR /&gt;{&lt;BR /&gt;const int _offset = offset + 2*globalSizeX;&lt;BR /&gt;const size_t grid[2] = {globalSizeX/2, get_global_size(1)};&lt;BR /&gt;&lt;BR /&gt;enqueue_kernel(get_default_queue(), CLK_ENQUEUE_FLAGS_WAIT_KERNEL, ndrange_2D(grid), ^{ createRipMapX(ripmap, _offset, sizeX); });&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;__kernel&lt;BR /&gt;void createRipMapY(__read_write image2d_t ripmap, const int offset, const int sizeX)&lt;BR /&gt;{&lt;BR /&gt;const uint idX = get_global_id(0);&lt;BR /&gt;const uint idY = get_global_id(1);&lt;BR /&gt;const uint globalSizeY = get_global_size(1);&lt;BR /&gt;&lt;BR /&gt;float A = read_imagef(ripmap, (int2)(idX, offset + 2*idY + 0)).x;&lt;BR /&gt;float B = read_imagef(ripmap, (int2)(idX, offset + 2*idY + 1)).x;&lt;BR /&gt;write_imagef(ripmap, (int2)(idX, offset + 2*globalSizeY + idY), (A+B));&lt;BR /&gt;&lt;BR /&gt;if(globalSizeY == 1)&lt;BR /&gt;return;&lt;BR /&gt;&lt;BR /&gt;if (idX == 0 &amp;amp;&amp;amp; idY == 0)&lt;BR /&gt;{&lt;BR /&gt;const int _offset = offset + 2*globalSizeY;&lt;BR /&gt;const size_t grid[2] = {get_global_size(0), globalSizeY/2};&lt;BR /&gt;&lt;BR /&gt;enqueue_kernel(get_default_queue(), CLK_ENQUEUE_FLAGS_WAIT_KERNEL, ndrange_2D(grid), ^{ createRipMapY(ripmap, _offset, sizeX); });&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 08:37:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1190167#M6784</guid>
      <dc:creator>alfreddong</dc:creator>
      <dc:date>2020-07-07T08:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Computer bench test LocalToneMapping issues</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1193595#M6790</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;On what system did you run it?&lt;/P&gt;
&lt;P&gt;How did you call createRipMapY and createRipMapX separately?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 10:09:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1193595#M6790</guid>
      <dc:creator>Sergey_I_Intel1</dc:creator>
      <dc:date>2020-07-20T10:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Computer bench test LocalToneMapping issues</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1193601#M6791</link>
      <description>&lt;P&gt;Hi Sergey,&lt;/P&gt;
&lt;P&gt;My computer's&amp;nbsp; os is Win10.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I think createRipMapX and&amp;nbsp;&amp;nbsp;createRipMapY are two symmetrical kernels. We can consider both of them as irrelevant two cases. Considering the kernel's first argument, It is initialized with the following code ......&lt;/P&gt;
&lt;P&gt;But the&amp;nbsp;clEnqueueNDRangeKernel API returns -50 error Num. &lt;SPAN&gt;I would like to know if there is an initialization problem or if the graphics card does not support this test?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;int error = CL_SUCCESS;&lt;BR /&gt;cl_image_format format;&lt;BR /&gt;format.image_channel_data_type = CL_FLOAT;&lt;BR /&gt;format.image_channel_order = CL_R;&lt;BR /&gt;//cl_image_desc clImageDesc;&lt;BR /&gt;//memset(&amp;amp;clImageDesc, 0, sizeof(cl_image_desc));&lt;BR /&gt;//clImageDesc.image_type = CL_MEM_OBJECT_IMAGE2D;&lt;BR /&gt;//clImageDesc.image_width = 4096;&lt;BR /&gt;//clImageDesc.image_height = 1024;&lt;BR /&gt;unsigned size = 4096 * 1024 * 4;&lt;BR /&gt;input = malloc(size);&lt;BR /&gt;memset(input, 0, size);&lt;BR /&gt;input = load_data_with_file_name("***.bin");&lt;/P&gt;
&lt;P&gt;ImgMem = clCreateImage2D(context, CL_MEM_READ_WRITE | CL_MEM_COPY_HOST_PTR, &amp;amp;format, 4096, 1024, 0, input, NULL);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank Alfred&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 10:45:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1193601#M6791</guid>
      <dc:creator>alfreddong</dc:creator>
      <dc:date>2020-07-20T10:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Computer bench test LocalToneMapping issues</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1194250#M6793</link>
      <description>&lt;P&gt;Hi Alfred,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please, try to specify this error with OpenCL official documentation.&lt;/P&gt;
&lt;P&gt;It might be wrong usage of clEnqueueNDRangeKernel.&lt;/P&gt;
&lt;P&gt;Can you share your full host and kernel code, so we can take a deep look at it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 10:41:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1194250#M6793</guid>
      <dc:creator>Sergey_I_Intel1</dc:creator>
      <dc:date>2020-07-23T10:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Computer bench test LocalToneMapping issues</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1194400#M6795</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Sergey,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I do not think I've misuse the&amp;nbsp;clEnqueueNDRangeKernel.&amp;nbsp;&lt;/SPAN&gt;It works well on other platforms&amp;nbsp;actually.&lt;/P&gt;
&lt;P&gt;I wondering to know why it returns&amp;nbsp; error code(-59) whne&amp;nbsp; running the single CreatRipMapX kernel?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;The&amp;nbsp;&lt;SPAN&gt;clTEnqueueNDRangeKerne API‘s configuration code as following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;global_work_size[0] = 0x100;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;global_work_size[1] = 0x100;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;local_work_size[0] = 0x40;&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;local_work_size[1] = 1;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;ret |= clEnqueueNDRangeKernel(queue, kernel[0], 3, NULL, global_work_size, local_work_size, 0, NULL, NULL);&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks Alfred&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 05:19:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1194400#M6795</guid>
      <dc:creator>alfreddong</dc:creator>
      <dc:date>2020-07-24T05:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Computer bench test LocalToneMapping issues</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1194452#M6797</link>
      <description>&lt;P&gt;Hi Alfred,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assume, that local_work_size in this case is the reason of error.&lt;/P&gt;
&lt;P&gt;We had such errors on Windows (on Linux it works), when using local_work_size in clEnqueueNDRangeKernel bring errors.&lt;/P&gt;
&lt;P&gt;Try to set "NULL" there and check it out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 10:23:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1194452#M6797</guid>
      <dc:creator>Sergey_I_Intel1</dc:creator>
      <dc:date>2020-07-24T10:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Computer bench test LocalToneMapping issues</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1194458#M6799</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Sergey,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I think it is unreasonable to set local_work_size to NULL.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Anyway, I tried it according to your suggestion, and it return the same error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks Alfred&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 11:19:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1194458#M6799</guid>
      <dc:creator>alfreddong</dc:creator>
      <dc:date>2020-07-24T11:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Computer bench test LocalToneMapping issues</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1195533#M6800</link>
      <description>&lt;P&gt;Hi Sergey,&lt;/P&gt;
&lt;P&gt;Are you working at Intel? If you are an employee of Intel, could you or your team may fix this issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks Alfred&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 06:02:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1195533#M6800</guid>
      <dc:creator>alfreddong</dc:creator>
      <dc:date>2020-07-29T06:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Computer bench test LocalToneMapping issues</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1195534#M6801</link>
      <description>&lt;P&gt;Hi Sergey,&lt;/P&gt;
&lt;P&gt;Are you working at Intel? If you are an employee of Intel, could you or your team may fix this issue?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks Alfred&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 06:03:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1195534#M6801</guid>
      <dc:creator>alfreddong</dc:creator>
      <dc:date>2020-07-29T06:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Computer bench test LocalToneMapping issues</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1195592#M6802</link>
      <description>&lt;P&gt;Hi Alfred,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, we are taking a look at your problem.&lt;/P&gt;
&lt;P&gt;If you can sent us your host_code part, where you run it, it will be helpful to reproduce it.&lt;/P&gt;
&lt;P&gt;By the way, what's your GPU driver version?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Sergey&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jul 2020 09:27:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1195592#M6802</guid>
      <dc:creator>Sergey_I_Intel1</dc:creator>
      <dc:date>2020-07-29T09:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Computer bench test Local Tone Mapping issues</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1195867#M6804</link>
      <description>&lt;P&gt;Hi S&lt;SPAN&gt;ergey,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The host codes has little difference with any other common test, and I've send you the key configuration in previous mail.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I post the host code as an attachment now. You can check it if it is helpful for you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;By the way,&amp;nbsp;&lt;/SPAN&gt;I tested both driver versions, but neither one worked&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks Alfred&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 01:39:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1195867#M6804</guid>
      <dc:creator>alfreddong</dc:creator>
      <dc:date>2020-07-30T01:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Computer bench test Local Tone Mapping issues</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1196031#M6805</link>
      <description>&lt;P&gt;Hi Alfred,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, -59 is CL_INVALID_OPERATION error.&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV&gt;&lt;CODE&gt;CL_​INVALID_​OPERATION&lt;/CODE&gt;&lt;SPAN&gt;&amp;nbsp;if SVM pointers are passed as arguments to a kernel and the device does not support SVM or if system pointers are passed as arguments to a kernel and/or stored inside SVM allocations passed as kernel arguments and the device does not support fine grain system SVM allocations.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Can you check on your machine, if that's the case? It might not work on some devices.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://software.intel.com/content/www/us/en/develop/articles/opencl-20-shared-virtual-memory-overview.html#type" target="_self"&gt;Here&lt;/A&gt; you can find sample to check it.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Sergey&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Jul 2020 13:03:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1196031#M6805</guid>
      <dc:creator>Sergey_I_Intel1</dc:creator>
      <dc:date>2020-07-30T13:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Computer bench test Local Tone Mapping issues</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1196240#M6806</link>
      <description>&lt;P&gt;Hi Sergey,&lt;/P&gt;
&lt;P&gt;I've verified the fine grain system grain allocation(SVMBasicFineGrained.exe) can works on my machine(intel UHD630).&lt;/P&gt;
&lt;P&gt;I am confused of why the sub-test can not work properly on the device but the whole test of&amp;nbsp;&lt;/P&gt;
&lt;P&gt;LocalToneMapping can works well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks Alfred&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 02:22:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Computer-bench-test-LocalToneMapping-issues/m-p/1196240#M6806</guid>
      <dc:creator>alfreddong</dc:creator>
      <dc:date>2020-07-31T02:22:27Z</dc:date>
    </item>
  </channel>
</rss>

