<?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:CL_INVALID_KERNEL_NAME when built with -fsycl-targets=spir64_gen-unknown-unknown-sycldevice in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1224952#M791</link>
    <description>&lt;P&gt;Hi Gagan,&lt;/P&gt;&lt;P&gt;Thanks for the reproducer. We are able to reproduce it on beta09.&lt;/P&gt;&lt;P&gt;However, since beta10 has released, could you please give it a try and let us know if you face any issues.&lt;/P&gt;&lt;P&gt;Also, please do migrate the entire application with beta10 dpct and compile it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 03 Nov 2020 07:36:45 GMT</pubDate>
    <dc:creator>GouthamK_Intel</dc:creator>
    <dc:date>2020-11-03T07:36:45Z</dc:date>
    <item>
      <title>CL_INVALID_KERNEL_NAME when built with -fsycl-targets=spir64_gen-unknown-unknown-sycldevice</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1217671#M740</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm facing a strange issue when I build my sycl code with flag -fsycl-targets=spir64_gen-unknown-unknown-sycldevice, I get exception -&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Native API failed. Native API returns: -46 (CL_INVALID_KERNEL_NAME) -46 (CL_INVALID_KERNEL_NAME)&lt;/LI-CODE&gt;
&lt;P&gt;Code works fine when used without that flag but I can't do that because I have several sycl functions in my code and I get LLVM out of memory error.&lt;/P&gt;
&lt;P&gt;I can reproduce the issue in the attached code. app.cpp contains main, lib.cpp contains a simple sycl function. When library gets compiled with -fsycl-targets or&amp;nbsp;-fsycl-link-targets flag, I get the error.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Gagan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 16:15:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1217671#M740</guid>
      <dc:creator>Shukla__Gagandeep</dc:creator>
      <dc:date>2020-10-14T16:15:00Z</dc:date>
    </item>
    <item>
      <title>Re:CL_INVALID_KERNEL_NAME when built with -fsycl-targets=spir64_gen-unknown-unknown-sycldevice</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1218035#M743</link>
      <description>&lt;P&gt;Hi Gagandeep,&lt;/P&gt;&lt;P&gt;We are able to reproduce the same error on our end.&lt;/P&gt;&lt;P&gt;Could you please try the below command? let us know the output of it. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;dpcpp -c app.cpp -o app.o&lt;/LI&gt;&lt;LI&gt;dpcpp -fsycl -fsycl-targets=spir64_gen-unknown-unknown-sycldevice -Xsycl-target-backend "-device skl" lib.cpp app.o -o myout&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Oct 2020 12:33:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1218035#M743</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-10-15T12:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re:CL_INVALID_KERNEL_NAME when built with -fsycl-targets=spir64_gen-unknown-unknown-sycldevice</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1218066#M744</link>
      <description>&lt;P&gt;Hi Gautham,&lt;/P&gt;
&lt;P&gt;The command you gave works but my issue is that in my actual project, I'm using CMake as build tool. There are many libraries that get compiled individually and then get linked with application binary.&lt;/P&gt;
&lt;P&gt;The sample code + cmake files that I gave actually replicate my build process along with the issue I face and I have to solve this issue within those constraints. I can not directly compile files on command line&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Gagan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 15:44:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1218066#M744</guid>
      <dc:creator>Shukla__Gagandeep</dc:creator>
      <dc:date>2020-10-15T15:44:16Z</dc:date>
    </item>
    <item>
      <title>Re:CL_INVALID_KERNEL_NAME when built with -fsycl-targets=spir64_gen-unknown-unknown-sycldevice</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1219767#M763</link>
      <description>&lt;P&gt;Hi Gagan,&lt;/P&gt;&lt;P&gt;We are working on your issue. We will get back to you soon.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 Oct 2020 11:49:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1219767#M763</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-10-21T11:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: CL_INVALID_KERNEL_NAME when built with -fsycl-targets=spir64_gen-unknown-unknown-sycldevice</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1222207#M770</link>
      <description>&lt;P&gt;Hi Gagan,&lt;/P&gt;
&lt;P&gt;We have analysed your CMake configuration, we observed that there are some issues during the linking stage. you need to provide the -fsycl-targets and Xsycl-target-backend during the linking stage too.&lt;/P&gt;
&lt;P&gt;So you can try providing -fsycl-targets and -Xs to cmake exe linker flag.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Command&lt;/STRONG&gt;:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;cmake -DCMAKE_EXE_LINKER_FLAGS='-fsycl-targets=spir64_gen-unknown-unknown-sycldevice -Xs "-device kbl"' ..&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let us know if you face any further issues.&lt;/P&gt;
&lt;P&gt;Have a Good day!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;
&lt;P&gt;Goutham&lt;/P&gt;
&lt;DIV id="highlighter--hover-tools" style="display: none;"&gt;
&lt;DIV id="highlighter--hover-tools--container"&gt;
&lt;DIV class="highlighter--icon highlighter--icon-copy" title="Copy"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="highlighter--separator"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="highlighter--icon highlighter--icon-delete" title="Delete"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 23 Oct 2020 13:45:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1222207#M770</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-10-23T13:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: CL_INVALID_KERNEL_NAME when built with -fsycl-targets=spir64_gen-unknown-unknown-sycldevice</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1222489#M772</link>
      <description>&lt;P&gt;Hi Gautham,&lt;/P&gt;
&lt;P&gt;The solution you provided worked with the test code that I shared with you but when I added the same to my actual code, it failed at link stage. Error I get is:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[100%] Linking CXX executable ../../bin/cycles
InvalidFunctionCall: Unexpected llvm intrinsic:
 llvm.exp.f32 [Src: /netbatch/donb1852340_00/runDir/09/20200827_000000/llvm/llvm-spirv/lib/SPIRV/SPIRVWriter.cpp:2358  ]
dpcpp: error: llvm-spirv command failed with exit code 6 (use -v to see invocation)
src/app/CMakeFiles/cycles.dir/build.make:221: recipe for target 'bin/cycles' failed
make[2]: *** [bin/cycles] Error 6
CMakeFiles/Makefile2:510: recipe for target 'src/app/CMakeFiles/cycles.dir/all' failed
make[1]: *** [src/app/CMakeFiles/cycles.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
make: *** [all] Error 2
&lt;/LI-CODE&gt;
&lt;P&gt;I added&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;add_compile_options(
   -fsycl-targets=spir64_gen-unknown-unknown-sycldevice
)&lt;/LI-CODE&gt;
&lt;P&gt;To my library that contains OneAPI code, cleaned up my build folder and used the command you provided to run cmake.&lt;/P&gt;
&lt;P&gt;If I build oneapi library without above compile option, I get following error:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[100%] Linking CXX executable ../../bin/cycles
llvm-link: Not enough positional command line arguments specified!
Must specify at least 1 positional argument: See: /home/kuljeet/intel/oneapi/compiler/2021.1-beta09/linux/bin/llvm-link --help
dpcpp: error: sycl-link command failed with exit code 1 (use -v to see invocation)
src/app/CMakeFiles/cycles.dir/build.make:221: recipe for target 'bin/cycles' failed
make[2]: *** [bin/cycles] Error 1
CMakeFiles/Makefile2:510: recipe for target 'src/app/CMakeFiles/cycles.dir/all' failed
make[1]: *** [src/app/CMakeFiles/cycles.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
make: *** [all] Error 2&lt;/LI-CODE&gt;
&lt;P&gt;I'm not even sure what else to try.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Gagan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Oct 2020 16:21:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1222489#M772</guid>
      <dc:creator>Shukla__Gagandeep</dc:creator>
      <dc:date>2020-10-24T16:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: CL_INVALID_KERNEL_NAME when built with -fsycl-targets=spir64_gen-unknown-unknown-sycldevice</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1222777#M773</link>
      <description>&lt;P&gt;Hi Gagan,&lt;/P&gt;
&lt;P&gt;Could you please try adding &lt;STRONG&gt;-Xsycl-target-backend&lt;/STRONG&gt; along with -fsycl-targets in add_compile_options.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;-Xsycl-target-backend "-device skl"  // Device depending on your hardware, e.g., skl&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you still face any errors, please provide the logs of CMake with &lt;STRONG&gt;verbose ON&lt;/STRONG&gt;.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;cmake -DCMAKE_EXE_LINKER_FLAGS='-fsycl-targets=spir64_gen-unknown-unknown-sycldevice -Xs "-device skl"' -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ..

make V=1&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, provide the details of the device for which you are targeting.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Goutham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="highlighter--hover-tools" style="display: none;"&gt;
&lt;DIV id="highlighter--hover-tools--container"&gt;
&lt;DIV class="highlighter--icon highlighter--icon-copy" title="Copy"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="highlighter--separator"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="highlighter--icon highlighter--icon-delete" title="Delete"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Oct 2020 08:31:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1222777#M773</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-10-26T08:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: CL_INVALID_KERNEL_NAME when built with -fsycl-targets=spir64_gen-unknown-unknown-sycldevice</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1223200#M776</link>
      <description>&lt;P&gt;Hi Gautham,&lt;/P&gt;
&lt;P&gt;I'm still getting the error:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;InvalidFunctionCall: Unexpected llvm intrinsic:
 llvm.exp.f32 [Src: /netbatch/donb1852340_00/runDir/09/20200827_000000/llvm/llvm-spirv/lib/SPIRV/SPIRVWriter.cpp:2358  ]
dpcpp: error: llvm-spirv command failed with exit code 6 (use -v to see invocation)
make[2]: *** [bin/cycles] Error 6
make[1]: *** [src/app/CMakeFiles/cycles.dir/all] Error 2
make: *** [all] Error 2&lt;/LI-CODE&gt;
&lt;P&gt;Attached zip contains cmake and make log.&lt;/P&gt;
&lt;P&gt;Target device info:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;platform_name       : Intel(R) OpenCL HD Graphics
platform_version    : OpenCL 2.1 
platform_vendor     : Intel(R) Corporation
vendor_name         : Intel(R) Gen9 HD Graphics NEO
vendor_id           : 32902
vendor              : Intel(R) Corporation
driver_version      : 20.28.17293
version             : OpenCL 2.1 NEO 
opencl_c_version    : OpenCL C 2.0 &lt;/LI-CODE&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Gagan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Oct 2020 09:08:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1223200#M776</guid>
      <dc:creator>Shukla__Gagandeep</dc:creator>
      <dc:date>2020-10-27T09:08:56Z</dc:date>
    </item>
    <item>
      <title>Re:CL_INVALID_KERNEL_NAME when built with -fsycl-targets=spir64_gen-unknown-unknown-sycldevice</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1223557#M781</link>
      <description>&lt;P&gt;Hi Gagan,&lt;/P&gt;&lt;P&gt;From the logs that you have attached it is little difficult to pinpoint the exact issue. It would be helpful if you can isolate the exact issue you are facing and provide a small reproducer of it.&lt;/P&gt;&lt;P&gt;Also, provide steps to reproduce the exact issue you are facing if possible. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Oct 2020 10:27:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1223557#M781</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-10-28T10:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: Re:CL_INVALID_KERNEL_NAME when built with -fsycl-targets=spir64_gen-unknown-unknown-sycldevice</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1224794#M790</link>
      <description>&lt;P&gt;Hi Gautham,&lt;/P&gt;
&lt;P&gt;Please find attached sample workspace which can reproduce the error I am facing.&lt;/P&gt;
&lt;P&gt;Steps to reproduce are:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;cmake -DCMAKE_EXE_LINKER_FLAGS='-fsycl-targets=spir64_gen-unknown-unknown-sycldevice -Xsycl-target-backend "-device skl"' ..
make&lt;/LI-CODE&gt;
&lt;P&gt;and the error I get is:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;InvalidFunctionCall: Unexpected llvm intrinsic:
 llvm.ctpop.i32 [Src: /netbatch/donb1852340_00/runDir/09/20200827_000000/llvm/llvm-spirv/lib/SPIRV/SPIRVWriter.cpp:2358  ]
dpcpp: error: llvm-spirv command failed with exit code 6 (use -v to see invocation)
app/CMakeFiles/test_app.dir/build.make:103: recipe for target 'app/test_app' failed
make[2]: *** [app/test_app] Error 6
CMakeFiles/Makefile2:133: recipe for target 'app/CMakeFiles/test_app.dir/all' failed
make[1]: *** [app/CMakeFiles/test_app.dir/all] Error 2
Makefile:102: recipe for target 'all' failed
make: *** [all] Error 2
&lt;/LI-CODE&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Gagan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 20:55:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1224794#M790</guid>
      <dc:creator>Shukla__Gagandeep</dc:creator>
      <dc:date>2020-11-02T20:55:58Z</dc:date>
    </item>
    <item>
      <title>Re:CL_INVALID_KERNEL_NAME when built with -fsycl-targets=spir64_gen-unknown-unknown-sycldevice</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1224952#M791</link>
      <description>&lt;P&gt;Hi Gagan,&lt;/P&gt;&lt;P&gt;Thanks for the reproducer. We are able to reproduce it on beta09.&lt;/P&gt;&lt;P&gt;However, since beta10 has released, could you please give it a try and let us know if you face any issues.&lt;/P&gt;&lt;P&gt;Also, please do migrate the entire application with beta10 dpct and compile it.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Nov 2020 07:36:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1224952#M791</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-11-03T07:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Re:CL_INVALID_KERNEL_NAME when built with -fsycl-targets=spir64_gen-unknown-unknown-sycldevice</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1225841#M800</link>
      <description>&lt;P&gt;Hi Gautham,&lt;/P&gt;
&lt;P&gt;I tried converting code using beta10. It has not converted any of the cuda bring up functions like cuInit, cuDeviceGet, cuDeviceGetAttribute, cuMemInfo, cuMemAlloc, cuMemHostAlloc, cuTexObjectCreate .... etc. Datatype conversion across files from intX, floatX to sycl::intX, sycl::floatX has been missed at several places.&lt;/P&gt;
&lt;P&gt;And my old code is not even compiling. beta10 is not recognizing dpct::image_info, dpct::image_base_p or dpct::create_image(), dpct::image_accessor, ~image_base().&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Gagan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2020 20:17:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1225841#M800</guid>
      <dc:creator>Shukla__Gagandeep</dc:creator>
      <dc:date>2020-11-05T20:17:37Z</dc:date>
    </item>
    <item>
      <title>Re:CL_INVALID_KERNEL_NAME when built with -fsycl-targets=spir64_gen-unknown-unknown-sycldevice</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1226969#M804</link>
      <description>&lt;P&gt;Hi Gagandeep,&lt;/P&gt;&lt;P&gt;Thanks for reporting the issue, we are able to reproduce the error which you are facing. &lt;/P&gt;&lt;P&gt;We are forwarding this thread to the concerned internal team.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Goutham&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Nov 2020 11:14:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1226969#M804</guid>
      <dc:creator>GouthamK_Intel</dc:creator>
      <dc:date>2020-11-10T11:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: Re:CL_INVALID_KERNEL_NAME when built with -fsycl-targets=spir64_gen-unknown-unknown-sycldevice</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1227098#M807</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Update with beta10:&lt;/P&gt;
&lt;P&gt;I was able to resolve all the API changes that are done in beta 10 and result of compilation is still the same. I get following error&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[100%] Linking CXX executable ../../bin/cycles
InvalidFunctionCall: Unexpected llvm intrinsic:
 llvm.ctpop.i32 [Src: /netbatch/donb2965411_00/runDir/88/20201005_160000/llvm/llvm-spirv/lib/SPIRV/SPIRVWriter.cpp:2399  ]
dpcpp: error: llvm-spirv command failed with exit code 6 (use -v to see invocation)
src/app/CMakeFiles/cycles.dir/build.make:221: recipe for target 'bin/cycles' failed
make[2]: *** [bin/cycles] Error 6
CMakeFiles/Makefile2:510: recipe for target 'src/app/CMakeFiles/cycles.dir/all' failed
make[1]: *** [src/app/CMakeFiles/cycles.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
make: *** [all] Error 2
&lt;/LI-CODE&gt;
&lt;P&gt;when compiled with&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;cmake -DCMAKE_EXE_LINKER_FLAGS='-fsycl-targets=spir64_gen-unknown-unknown-sycldevice -Xsycl-target-backend "-device skl"' ..&lt;/LI-CODE&gt;
&lt;P&gt;If there is any thing I can try in the mean time, please let me know.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Gagan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 18:50:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1227098#M807</guid>
      <dc:creator>Shukla__Gagandeep</dc:creator>
      <dc:date>2020-11-10T18:50:14Z</dc:date>
    </item>
    <item>
      <title>Re:CL_INVALID_KERNEL_NAME when built with -fsycl-targets=spir64_gen-unknown-unknown-sycldevice</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1227114#M808</link>
      <description>&lt;P&gt;Hi Gagandeep,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please try compiling with the flag&amp;nbsp;-fno-sycl-early-optimizations. &lt;/P&gt;&lt;P&gt;There is a &lt;A href="https://software.intel.com/content/www/us/en/develop/articles/intel-oneapi-dpcpp-compiler-release-notes-beta.html" rel="noopener noreferrer" target="_blank"&gt;known issue&lt;/A&gt; in Beta10 which is causing this error for some intrinsics and ctpop is one of them.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Nov 2020 19:19:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1227114#M808</guid>
      <dc:creator>Sravani_K_Intel</dc:creator>
      <dc:date>2020-11-10T19:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re:CL_INVALID_KERNEL_NAME when built with -fsycl-targets=spir64_gen-unknown-unknown-sycldevice</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1228622#M813</link>
      <description>&lt;P&gt;Now the error is&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;InvalidFunctionCall: Unexpected llvm intrinsic:
 llvm.exp.f32 [Src: /netbatch/donb2965411_00/runDir/88/20201005_160000/llvm/llvm-spirv/lib/SPIRV/SPIRVWriter.cpp:2399  ]
dpcpp: error: llvm-spirv command failed with exit code 6 (use -v to see invocation)
src/app/CMakeFiles/cycles.dir/build.make:220: recipe for target 'bin/cycles' failed
make[2]: *** [bin/cycles] Error 6
CMakeFiles/Makefile2:509: recipe for target 'src/app/CMakeFiles/cycles.dir/all' failed
make[1]: *** [src/app/CMakeFiles/cycles.dir/all] Error 2
Makefile:148: recipe for target 'all' failed
make: *** [all] Error 2&lt;/LI-CODE&gt;&lt;P&gt;Regards,&lt;BR /&gt;Gagan&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2020 09:05:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1228622#M813</guid>
      <dc:creator>Shukla__Gagandeep</dc:creator>
      <dc:date>2020-11-16T09:05:01Z</dc:date>
    </item>
    <item>
      <title>Re:CL_INVALID_KERNEL_NAME when built with -fsycl-targets=spir64_gen-unknown-unknown-sycldevice</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1256499#M958</link>
      <description>&lt;P&gt;Hi Gagan,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sorry for the delayed response.&lt;/P&gt;&lt;P&gt;Did you get a chance to verify this with the DPC++ Compiler from the oneAPI Gold release? If you still have issues, please attach the reproducer after migrating with Intel(R) DPC++ Compatibility Tool version 2021.1.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Feb 2021 18:56:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1256499#M958</guid>
      <dc:creator>Sravani_K_Intel</dc:creator>
      <dc:date>2021-02-16T18:56:04Z</dc:date>
    </item>
    <item>
      <title>Re:CL_INVALID_KERNEL_NAME when built with -fsycl-targets=spir64_gen-unknown-unknown-sycldevice</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1258988#M974</link>
      <description>&lt;P&gt;&lt;I style="font-family: Calibri, sans-serif; font-size: 11pt;"&gt;This issue has been resolved and we will no longer respond to this thread.&amp;nbsp;If you require additional assistance from Intel, please start a new thread.&amp;nbsp;Any further interaction in this thread will be considered community only&lt;/I&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Feb 2021 18:01:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/CL-INVALID-KERNEL-NAME-when-built-with-fsycl-targets-spir64-gen/m-p/1258988#M974</guid>
      <dc:creator>Sravani_K_Intel</dc:creator>
      <dc:date>2021-02-24T18:01:09Z</dc:date>
    </item>
  </channel>
</rss>

