<?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 Unknown crash during runtime in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Unknown-crash-during-runtime/m-p/1036622#M3722</link>
    <description>&lt;PRE&gt;Hi, 
I have encountered a crash problem running for Intel CPU on Windows 7 (x86) platforms with OpenCL CPU only. 
My platforms is below, 
CL_PLATFORM_NAME: Intel(R) OpenCL
CL_DEVICE_NAME:   Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz
CL_DEVICE_VERSION: OpenCL 1.2 (Build 57)
CL_DRIVER_VERSION: 5.0.0.57&lt;/PRE&gt;

&lt;P&gt;I use only 3 cores for windows 7 system, and 1 core for RTOS system.&lt;/P&gt;

&lt;P&gt;Mostly, it works fine when I repeat do the life time test when OpenCL run in CPU.&lt;/P&gt;

&lt;P&gt;However, I got the following information in console mode and then crash.&lt;/P&gt;

&lt;P&gt;Currently, I just got only one situation like this. Still try to duplicate it.&lt;/P&gt;

&lt;P&gt;I don't have idea about it. Can anyone give me a hint of it?&lt;/P&gt;

&lt;P&gt;============================================&lt;/P&gt;

&lt;P&gt;0x0A091938 (0x10FFA080 0x0E5C56B8 0x0E5C56AC 0xA1F21EAB) &amp;lt;unknown module&amp;gt;&lt;BR /&gt;
	0x57BDACD0 (0x10FFA080 0x0E5C56B8 0x0E5C56AC 0x00000000)&lt;BR /&gt;
	0x5968E3E3 (0x00000000 0x00000098 0x00000000 0x07E272B8), clDevInitDeviceAgent() + 0x3833 bytes(s)&lt;BR /&gt;
	0x5973E908 (0x0D9FED24 0xA1F33BDF 0x0DA03E80 0x0D9FED20), ?GetTaskExecutor@TaskExecutor@OpenCL@Intel@@YAPAVITaskExecutor@123@XZ() + 0x7EB8 bytes(s)&lt;BR /&gt;
	0x59739019 (0x0D9FED20 0x0D9FED24 0x5830A4F0 0xA1F26F16), ?GetTaskExecutor@TaskExecutor@OpenCL@Intel@@YAPAVITaskExecutor@123@XZ() + 0x25C9 bytes(s)&lt;BR /&gt;
	0x5973EF0C (0x0DA07F20 0x0D9FED20 0x0DA23F88 0x00000001), ?GetTaskExecutor@TaskExecutor@OpenCL@Intel@@YAPAVITaskExecutor@123@XZ() + 0x84BC bytes(s)&lt;BR /&gt;
	0x58305439 (0x00000000 0x00000000 0x0DA27F08 0x0DA27F00), ?internal_current_slot@task_arena_base@internal@interface7@tbb@@KAHXZ() + 0xEB9 bytes(s)&lt;BR /&gt;
	0x583036B6 (0x0DA03E80 0x00000000 0x0DA27F00 0x0E5CF748), ?initialize@task_scheduler_init@tbb@@QAEXH@Z() + 0xD16 bytes(s)&lt;BR /&gt;
	0x582FE5E8 (0x00000000 0x00000000 0x00000000 0x00000000), ?thread_sleep_v3@internal@tbb@@YAXABVinterval_t@tick_count@2@@Z() + 0x1338 bytes(s)&lt;BR /&gt;
	0x0A091901 (0x10FFA080 0x0E7CB7D0 0x0E7CB7C4 0xA1D2FF93) &amp;lt;unknown module&amp;gt;&lt;BR /&gt;
	0x57BDACD0 (0x10FFA080 0x0E7CB7D0 0x0E7CB7C4 0x00000000)&lt;BR /&gt;
	0x5968E3E3 (0x00000000 0x00000097 0x00000000 0x07E272B8), clDevInitDeviceAgent() + 0x3833 bytes(s)&lt;BR /&gt;
	0x5973E908 (0x0D9FE824 0xA1D3DAF7 0x0D9FBE80 0x0D9FE820), ?GetTaskExecutor@TaskExecutor@OpenCL@Intel@@YAPAVITaskExecutor@123@XZ() + 0x7EB8 bytes(s)&lt;BR /&gt;
	0x59739019 (0x0D9FE820 0x0D9FE824 0x5830A4F0 0xA1D28EFE), ?GetTaskExecutor@TaskExecutor@OpenCL@Intel@@YAPAVITaskExecutor@123@XZ() + 0x25C9 bytes(s)&lt;BR /&gt;
	0x5973EF0C (0x0D9FEF20 0x0D9FE820 0xA1D28EC2 0x0E7CBB30), ?GetTaskExecutor@TaskExecutor@OpenCL@Intel@@YAPAVITaskExecutor@123@XZ() + 0x84BC bytes(s)&lt;BR /&gt;
	0x58308332 (0x0D9FF520 0x0D9FF51C 0xA1D3D8D7 0x00000000), ?internal_wait@task_arena_base@internal@interface7@tbb@@IBEXXZ() + 0x2382 bytes(s)&lt;/P&gt;

&lt;P&gt;============================================&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Oct 2015 03:54:21 GMT</pubDate>
    <dc:creator>Alpha_H_</dc:creator>
    <dc:date>2015-10-28T03:54:21Z</dc:date>
    <item>
      <title>Unknown crash during runtime</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Unknown-crash-during-runtime/m-p/1036622#M3722</link>
      <description>&lt;PRE&gt;Hi, 
I have encountered a crash problem running for Intel CPU on Windows 7 (x86) platforms with OpenCL CPU only. 
My platforms is below, 
CL_PLATFORM_NAME: Intel(R) OpenCL
CL_DEVICE_NAME:   Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz
CL_DEVICE_VERSION: OpenCL 1.2 (Build 57)
CL_DRIVER_VERSION: 5.0.0.57&lt;/PRE&gt;

&lt;P&gt;I use only 3 cores for windows 7 system, and 1 core for RTOS system.&lt;/P&gt;

&lt;P&gt;Mostly, it works fine when I repeat do the life time test when OpenCL run in CPU.&lt;/P&gt;

&lt;P&gt;However, I got the following information in console mode and then crash.&lt;/P&gt;

&lt;P&gt;Currently, I just got only one situation like this. Still try to duplicate it.&lt;/P&gt;

&lt;P&gt;I don't have idea about it. Can anyone give me a hint of it?&lt;/P&gt;

&lt;P&gt;============================================&lt;/P&gt;

&lt;P&gt;0x0A091938 (0x10FFA080 0x0E5C56B8 0x0E5C56AC 0xA1F21EAB) &amp;lt;unknown module&amp;gt;&lt;BR /&gt;
	0x57BDACD0 (0x10FFA080 0x0E5C56B8 0x0E5C56AC 0x00000000)&lt;BR /&gt;
	0x5968E3E3 (0x00000000 0x00000098 0x00000000 0x07E272B8), clDevInitDeviceAgent() + 0x3833 bytes(s)&lt;BR /&gt;
	0x5973E908 (0x0D9FED24 0xA1F33BDF 0x0DA03E80 0x0D9FED20), ?GetTaskExecutor@TaskExecutor@OpenCL@Intel@@YAPAVITaskExecutor@123@XZ() + 0x7EB8 bytes(s)&lt;BR /&gt;
	0x59739019 (0x0D9FED20 0x0D9FED24 0x5830A4F0 0xA1F26F16), ?GetTaskExecutor@TaskExecutor@OpenCL@Intel@@YAPAVITaskExecutor@123@XZ() + 0x25C9 bytes(s)&lt;BR /&gt;
	0x5973EF0C (0x0DA07F20 0x0D9FED20 0x0DA23F88 0x00000001), ?GetTaskExecutor@TaskExecutor@OpenCL@Intel@@YAPAVITaskExecutor@123@XZ() + 0x84BC bytes(s)&lt;BR /&gt;
	0x58305439 (0x00000000 0x00000000 0x0DA27F08 0x0DA27F00), ?internal_current_slot@task_arena_base@internal@interface7@tbb@@KAHXZ() + 0xEB9 bytes(s)&lt;BR /&gt;
	0x583036B6 (0x0DA03E80 0x00000000 0x0DA27F00 0x0E5CF748), ?initialize@task_scheduler_init@tbb@@QAEXH@Z() + 0xD16 bytes(s)&lt;BR /&gt;
	0x582FE5E8 (0x00000000 0x00000000 0x00000000 0x00000000), ?thread_sleep_v3@internal@tbb@@YAXABVinterval_t@tick_count@2@@Z() + 0x1338 bytes(s)&lt;BR /&gt;
	0x0A091901 (0x10FFA080 0x0E7CB7D0 0x0E7CB7C4 0xA1D2FF93) &amp;lt;unknown module&amp;gt;&lt;BR /&gt;
	0x57BDACD0 (0x10FFA080 0x0E7CB7D0 0x0E7CB7C4 0x00000000)&lt;BR /&gt;
	0x5968E3E3 (0x00000000 0x00000097 0x00000000 0x07E272B8), clDevInitDeviceAgent() + 0x3833 bytes(s)&lt;BR /&gt;
	0x5973E908 (0x0D9FE824 0xA1D3DAF7 0x0D9FBE80 0x0D9FE820), ?GetTaskExecutor@TaskExecutor@OpenCL@Intel@@YAPAVITaskExecutor@123@XZ() + 0x7EB8 bytes(s)&lt;BR /&gt;
	0x59739019 (0x0D9FE820 0x0D9FE824 0x5830A4F0 0xA1D28EFE), ?GetTaskExecutor@TaskExecutor@OpenCL@Intel@@YAPAVITaskExecutor@123@XZ() + 0x25C9 bytes(s)&lt;BR /&gt;
	0x5973EF0C (0x0D9FEF20 0x0D9FE820 0xA1D28EC2 0x0E7CBB30), ?GetTaskExecutor@TaskExecutor@OpenCL@Intel@@YAPAVITaskExecutor@123@XZ() + 0x84BC bytes(s)&lt;BR /&gt;
	0x58308332 (0x0D9FF520 0x0D9FF51C 0xA1D3D8D7 0x00000000), ?internal_wait@task_arena_base@internal@interface7@tbb@@IBEXXZ() + 0x2382 bytes(s)&lt;/P&gt;

&lt;P&gt;============================================&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 03:54:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Unknown-crash-during-runtime/m-p/1036622#M3722</guid>
      <dc:creator>Alpha_H_</dc:creator>
      <dc:date>2015-10-28T03:54:21Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Unknown-crash-during-runtime/m-p/1036623#M3723</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I found that I call the OpenCL module in 2 different thread. Maybe that's cause the problem?&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 07:45:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Unknown-crash-during-runtime/m-p/1036623#M3723</guid>
      <dc:creator>Alpha_H_</dc:creator>
      <dc:date>2015-10-28T07:45:20Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Unknown-crash-during-runtime/m-p/1036624#M3724</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;It would be good to have a reproducer: a small repeatable program that can demonstrate this crash. You should be able to call OpenCL from multiple threads with no issues.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 12:44:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Unknown-crash-during-runtime/m-p/1036624#M3724</guid>
      <dc:creator>Robert_I_Intel</dc:creator>
      <dc:date>2015-10-28T12:44:44Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Unknown-crash-during-runtime/m-p/1036625#M3725</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;To help to diagnose,&amp;nbsp;please enable OpenCL API calls logger via CL_CONFIG_USER_LOGGER=I environment variable.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;Documentation is here &lt;A href="https://software.intel.com/en-us/node/540601"&gt;&lt;U&gt;&lt;FONT color="#0563c1"&gt;&lt;/FONT&gt;&lt;/U&gt;&lt;/A&gt;&lt;A href="https://software.intel.com/en-us/node/540601" target="_blank"&gt;https://software.intel.com/en-us/node/540601&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;Please provide the resulting log file. &lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: rgb(31, 73, 125); font-family: &amp;quot;Calibri&amp;quot;,sans-serif; font-size: 11pt;"&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2015 14:06:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Unknown-crash-during-runtime/m-p/1036625#M3725</guid>
      <dc:creator>Robert_I_Intel</dc:creator>
      <dc:date>2015-10-28T14:06:19Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Unknown-crash-during-runtime/m-p/1036626#M3726</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I don't have a reproducer and it is hard to trigger this issue after&amp;nbsp; CL_CONFIG_USER_LOGGER=I, filename is set.&lt;/P&gt;

&lt;P&gt;If I can duplicate the issue, I will provide the log file immediately.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;However, I have a little question, would you please kind teach me ?&lt;/P&gt;

&lt;P&gt;If I got platform ID, device ID, context, build program and create Kernel only at the begin of the program.&lt;/P&gt;

&lt;P&gt;and then I use the them to run clEnqueueNDRangeKernel at multithread thread with the same command queue and kernel, it is legal or not?&lt;/P&gt;

&lt;P&gt;Or I should claim those resource at each thread?&lt;/P&gt;

&lt;P&gt;Thanks a lot for your instant reply.&lt;/P&gt;

&lt;P&gt;Alpha&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2015 06:21:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Unknown-crash-during-runtime/m-p/1036626#M3726</guid>
      <dc:creator>Alpha_H_</dc:creator>
      <dc:date>2015-10-29T06:21:07Z</dc:date>
    </item>
    <item>
      <title>Hi Alpha,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Unknown-crash-during-runtime/m-p/1036627#M3727</link>
      <description>&lt;P&gt;Hi Alpha,&lt;/P&gt;

&lt;P&gt;You should have no issues submitting commands to the same queue from different threads, so yes, what you are doing is very legal.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2015 14:05:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Unknown-crash-during-runtime/m-p/1036627#M3727</guid>
      <dc:creator>Robert_I_Intel</dc:creator>
      <dc:date>2015-10-29T14:05:48Z</dc:date>
    </item>
  </channel>
</rss>

