<?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 Sorry, I don't have. On in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/seg-faults-in-OpenCL-2013-beta-for-linux/m-p/980595#M2544</link>
    <description>Sorry, I don't have. On trivial applications it doesn't happen. It happens inside a larger application that targets multiple OpenCL devices, if I set the device to the Nvidia device everything works, the moment I set it to the Intel device I get a seg fault on on clCreateContext. All the parameters seem fine. From the stack it seem that clCreateContext initializes the tbb scheduler and launches a bunch of threads and an arena. I do have tbb installed on my computer, perhaps OpencL is dynamically linking with the wrong tbb?</description>
    <pubDate>Mon, 31 Dec 2012 12:19:29 GMT</pubDate>
    <dc:creator>David_M_13</dc:creator>
    <dc:date>2012-12-31T12:19:29Z</dc:date>
    <item>
      <title>seg-faults in OpenCL 2013 beta for linux</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/seg-faults-in-OpenCL-2013-beta-for-linux/m-p/980592#M2541</link>
      <description>&lt;P&gt;I'm using&amp;nbsp;/opt/intel/opencl-1.2-3.0.56860/lib64/libintelocl.so&lt;/P&gt;
&lt;P&gt;All the programs I have function using the Nvidia OpenCL driver for CUDA 5.0&lt;/P&gt;
&lt;P&gt;All my programs seg-fault with the Intel device. I'm running .Red Hat Enterprise Linux Server release 6.2 (Santiago)&lt;/P&gt;
&lt;P&gt;On a dual-socket 4 core Intel(R) Xeon(R) CPU &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; E5620 &amp;nbsp;@ 2.40GH&lt;/P&gt;
&lt;P&gt;Heres a picture of the stack:&lt;/P&gt;
&lt;P&gt;(gdb) info stack&lt;BR /&gt;#0 0x00007f947afb0721 in Intel::OpenCL::CPUDevice::CPUDevice::NotifyAffinity(unsigned int, unsigned int) ()&lt;BR /&gt; from /opt/intel/opencl/lib64/libcpu_device.so&lt;BR /&gt;#1 0x00007f947afa4fed in Intel::OpenCL::CPUDevice::AffinitizeThreads::ExecuteIteration(unsigned long, unsigned long, unsigned long, WGContextBase*) () from /opt/intel/opencl/lib64/libcpu_device.so&lt;BR /&gt;#2 0x00007f947b3463d0 in void tbb::interface6::internal::partition_type_base&amp;lt;tbb::interface6::internal::auto_partition_type&amp;gt;::execute&amp;lt;tbb::interface6::internal::start_for&amp;lt;tbb::blocked_range&amp;lt;unsigned long&amp;gt;, Intel::OpenCL::TaskExecutor::TaskLoopBody1D, tbb::auto_partitioner const&amp;gt;, tbb::blocked_range&amp;lt;unsigned long&amp;gt; &amp;gt;(tbb::interface6::internal::start_for&amp;lt;tbb::blocked_range&amp;lt;unsigned long&amp;gt;, Intel::OpenCL::TaskExecutor::TaskLoopBody1D, tbb::auto_partitioner const&amp;gt;&amp;amp;, tbb::blocked_range&amp;lt;unsigned long&amp;gt;&amp;amp;) () from /opt/intel/opencl/lib64/libtask_executor.so&lt;BR /&gt;#3 0x00007f947b346a0c in tbb::interface6::internal::start_for&amp;lt;tbb::blocked_range&amp;lt;unsigned long&amp;gt;, Intel::OpenCL::TaskExecutor::TaskLoopBody1D, tbb::auto_partitioner const&amp;gt;::execute() () from /opt/intel/opencl/lib64/libtask_executor.so&lt;BR /&gt;#4 0x00007f947d0262db in tbb::internal::custom_scheduler&amp;lt;tbb::internal::IntelSchedulerTraits&amp;gt;::local_wait_for_all (this=0x7f947c681c00,&lt;BR /&gt; parent=..., child=&amp;lt;value optimized out&amp;gt;) at ../../src/tbb/custom_scheduler.h:440&lt;BR /&gt;#5 0x00007f947d02468d in tbb::internal::generic_scheduler::local_spawn_root_and_wait (this=0x7f947c681c00, first=..., next=@0x7f941bffbc38)&lt;BR /&gt; at ../../src/tbb/scheduler.cpp:621&lt;BR /&gt;#6 0x00007f947b3462d7 in tbb::interface6::internal::delegated_function&amp;lt;Intel::OpenCL::TaskExecutor::Dim1ParallelForFunctor&amp;gt;::run() ()&lt;BR /&gt; from /opt/intel/opencl/lib64/libtask_executor.so&lt;BR /&gt;#7 0x00007f947b1fb2bd in ?? () from /opt/intel/opencl/lib64/libtbb_preview.so.2&lt;BR /&gt;#8 0x00007f947b1fca37 in ?? () from /opt/intel/opencl/lib64/libtbb_preview.so.2&lt;BR /&gt;#9 0x00007f947b1fa627 in ?? () from /opt/intel/opencl/lib64/libtbb_preview.so.2&lt;BR /&gt;#10 0x00007f947b1f94f6 in ?? () from /opt/intel/opencl/lib64/libtbb_preview.so.2&lt;BR /&gt;#11 0x00007f947b1f7454 in ?? () from /opt/intel/opencl/lib64/libtbb_preview.so.2&lt;BR /&gt;#12 0x00007f947b1f7386 in ?? () from /opt/intel/opencl/lib64/libtbb_preview.so.2&lt;BR /&gt;#13 0x00000032e94077f1 in start_thread () from /lib64/libpthread.so.0&lt;BR /&gt;#14 0x00000032e88e5ccd in clone () from /lib64/libc.so.6&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 30 Dec 2012 13:39:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/seg-faults-in-OpenCL-2013-beta-for-linux/m-p/980592#M2541</guid>
      <dc:creator>David_M_13</dc:creator>
      <dc:date>2012-12-30T13:39:25Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/seg-faults-in-OpenCL-2013-beta-for-linux/m-p/980593#M2542</link>
      <description>Hi,

Is it possible to attach a small reproducer for this issue?

Thanks,
Yuri</description>
      <pubDate>Mon, 31 Dec 2012 06:28:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/seg-faults-in-OpenCL-2013-beta-for-linux/m-p/980593#M2542</guid>
      <dc:creator>Yuri_K_Intel</dc:creator>
      <dc:date>2012-12-31T06:28:53Z</dc:date>
    </item>
    <item>
      <title>Thanks for your report!</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/seg-faults-in-OpenCL-2013-beta-for-linux/m-p/980594#M2543</link>
      <description>Thanks for your report!

We wnat to iinvestigate the issue. Can you please provide a reproducer for the problem?

Arik</description>
      <pubDate>Mon, 31 Dec 2012 06:52:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/seg-faults-in-OpenCL-2013-beta-for-linux/m-p/980594#M2543</guid>
      <dc:creator>Arik_N_Intel</dc:creator>
      <dc:date>2012-12-31T06:52:31Z</dc:date>
    </item>
    <item>
      <title>Sorry, I don't have. On</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/seg-faults-in-OpenCL-2013-beta-for-linux/m-p/980595#M2544</link>
      <description>Sorry, I don't have. On trivial applications it doesn't happen. It happens inside a larger application that targets multiple OpenCL devices, if I set the device to the Nvidia device everything works, the moment I set it to the Intel device I get a seg fault on on clCreateContext. All the parameters seem fine. From the stack it seem that clCreateContext initializes the tbb scheduler and launches a bunch of threads and an arena. I do have tbb installed on my computer, perhaps OpencL is dynamically linking with the wrong tbb?</description>
      <pubDate>Mon, 31 Dec 2012 12:19:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/seg-faults-in-OpenCL-2013-beta-for-linux/m-p/980595#M2544</guid>
      <dc:creator>David_M_13</dc:creator>
      <dc:date>2012-12-31T12:19:29Z</dc:date>
    </item>
    <item>
      <title>To answer my own post, that</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/seg-faults-in-OpenCL-2013-beta-for-linux/m-p/980596#M2545</link>
      <description>To answer my own post, that was the problem, my application was linked to TBB. This goes back to another post in the forum where I asked what TBB I needed to use in order to work with TBB and OpenCL together.  In the meantime I'll work using another runtime.
Thanks,
David</description>
      <pubDate>Mon, 31 Dec 2012 12:30:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/seg-faults-in-OpenCL-2013-beta-for-linux/m-p/980596#M2545</guid>
      <dc:creator>David_M_13</dc:creator>
      <dc:date>2012-12-31T12:30:39Z</dc:date>
    </item>
    <item>
      <title>Hi David,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/seg-faults-in-OpenCL-2013-beta-for-linux/m-p/980597#M2546</link>
      <description>Hi David,

The problem indeed happens when linking to different TBB shared objects. In current (Beta) release our binaries are linked against tbb_preview.so, which have similar symbols as original tbb.so.2. The problem occures since two different TBB symbols exist in the same process.

We will work for more reliable solution. Meanwhile, I would like to advice (of cause as a work around) to link against tbb_preview.so that comes with our binaries.

Regards,
Evgeny</description>
      <pubDate>Mon, 31 Dec 2012 13:12:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/seg-faults-in-OpenCL-2013-beta-for-linux/m-p/980597#M2546</guid>
      <dc:creator>Evgeny_F_Intel</dc:creator>
      <dc:date>2012-12-31T13:12:00Z</dc:date>
    </item>
  </channel>
</rss>

