<?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:dpct crashing while conversion in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-crashing-while-conversion/m-p/1203448#M676</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>Mon, 24 Aug 2020 11:29:27 GMT</pubDate>
    <dc:creator>Subarnarek_G_Intel</dc:creator>
    <dc:date>2020-08-24T11:29:27Z</dc:date>
    <item>
      <title>dpct crashing while conversion</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-crashing-while-conversion/m-p/1186648#M514</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;I was converting&amp;nbsp;&lt;A href="https://github.com/NVlabs/cub/blob/1.8.0/experimental/spmv_compare.cu"&gt;spmv_compare.cu&lt;/A&gt;&amp;nbsp;from repo&amp;nbsp;&lt;A href="https://github.com/NVlabs/cub"&gt;cub&lt;/A&gt;&amp;nbsp;and dpct gave&amp;nbsp;SIGSEGV.&lt;/P&gt;&lt;P&gt;dpct output:&lt;/P&gt;
&lt;PRE class="brush:; class-name:dark;"&gt;&amp;gt;dpct --cuda-include-path="C:\nvcc\include"  --extra-arg="-I../" --out-root=dpct spmv_compare.cu
NOTE: Could not auto-detect compilation database for file 'spmv_compare.cu' in 'C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental' or any parent directory.
Processing: C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu
In file included from C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:49:
C:\Users\...\Downloads\cuda code\cub-1.8.0\test\test_util.h:395:36: warning: result of comparison of constant 4294967295 with expression of type 'volatile unsigned short' is always true [-Wtautological-constant-out-of-range-compare]
        ((bits &amp;gt;= 0xFC01) &amp;amp;&amp;amp; (bits &amp;lt;= 0xFFFFFFFF)));
                              ~~~~ ^  ~~~~~~~~~~
In file included from C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:41:
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\sparse_matrix.h:360:31: warning: 'sscanf' is deprecated: This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]
                int nparsed = sscanf(line, "%d %d %d", &amp;amp;num_rows, &amp;amp;num_cols, &amp;amp;num_nonzeros);
                              ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:906:9: note: in instantiation of function template specialization 'RunTests&amp;lt;double, int&amp;gt;' requested here
        RunTests&amp;lt;double, int&amp;gt;(rcm_relabel, alpha, beta, mtx_filename, grid2d, grid3d, wheel, dense, timing_iterations, args);
        ^
C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt\stdio.h:2262:20: note: 'sscanf' has been explicitly marked deprecated here
    _Check_return_ _CRT_INSECURE_DEPRECATE(sscanf_s)
                   ^
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vcruntime.h:255:55: note: expanded from macro '_CRT_INSECURE_DEPRECATE'
        #define _CRT_INSECURE_DEPRECATE(_Replacement) _CRT_DEPRECATE_TEXT(    \
                                                      ^
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vcruntime.h:245:47: note: expanded from macro '_CRT_DEPRECATE_TEXT'
#define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text))
                                              ^
In file included from C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:41:
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\sparse_matrix.h:399:25: warning: 'sscanf' is deprecated: This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]
                    if (sscanf(line, "%lf", &amp;amp;val) != 1)
                        ^
C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt\stdio.h:2262:20: note: 'sscanf' has been explicitly marked deprecated here
    _Check_return_ _CRT_INSECURE_DEPRECATE(sscanf_s)
                   ^
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vcruntime.h:255:55: note: expanded from macro '_CRT_INSECURE_DEPRECATE'
        #define _CRT_INSECURE_DEPRECATE(_Replacement) _CRT_DEPRECATE_TEXT(    \
                                                      ^
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vcruntime.h:245:47: note: expanded from macro '_CRT_DEPRECATE_TEXT'
#define _CRT_DEPRECATE_TEXT(_Text) __declspec(deprecated(_Text))
                                              ^
In file included from C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:33:
In file included from C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\map:8:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xtree:1971:23: error: no matching function for call to object of type 'const std::_Tree_comp_alloc&amp;lt;std::_Tset_traits&amp;lt;int, OrderByLow&amp;lt;int&amp;gt;, std::allocator&amp;lt;int&amp;gt;, false&amp;gt; &amp;gt;::key_compare' (aka 'const OrderByLow&amp;lt;int&amp;gt;')
                        if (_DEBUG_LT_PRED(this-&amp;gt;_Getcomp(), this-&amp;gt;_Key(_Pnode), _Keyval))
                                           ^~~~~~~~~~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xutility:1093:38: note: expanded from macro '_DEBUG_LT_PRED'
  #define _DEBUG_LT_PRED(pred, x, y)    pred(x, y)
                                        ^~~~
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xtree:2011:50: note: in instantiation of function template specialization 'std::_Tree&amp;lt;std::_Tset_traits&amp;lt;int, OrderByLow&amp;lt;int&amp;gt;, std::allocator&amp;lt;int&amp;gt;, false&amp;gt; &amp;gt;::_Eqrange&amp;lt;int&amp;gt;' requested here
                _Paircc _Ans(static_cast&amp;lt;const _Tree *&amp;gt;(this)-&amp;gt;_Eqrange(_Keyval));
                                                               ^
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xtree:1533:11: note: in instantiation of function template specialization 'std::_Tree&amp;lt;std::_Tset_traits&amp;lt;int, OrderByLow&amp;lt;int&amp;gt;, std::allocator&amp;lt;int&amp;gt;, false&amp;gt; &amp;gt;::_Eqrange&amp;lt;int&amp;gt;' requested here
                return (_Eqrange(_Keyval));
                        ^
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xtree:1401:20: note: in instantiation of member function 'std::_Tree&amp;lt;std::_Tset_traits&amp;lt;int, OrderByLow&amp;lt;int&amp;gt;, std::allocator&amp;lt;int&amp;gt;, false&amp;gt; &amp;gt;::equal_range' requested here
                _Pairii _Where = equal_range(_Keyval);
                                 ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\sparse_matrix.h:1161:27: note: in instantiation of member function 'std::_Tree&amp;lt;std::_Tset_traits&amp;lt;int, OrderByLow&amp;lt;int&amp;gt;, std::allocator&amp;lt;int&amp;gt;, false&amp;gt; &amp;gt;::erase' requested here
                unlabeled.erase(vertex);
                          ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\sparse_matrix.h:1222:5: note: in instantiation of function template specialization 'RcmRelabel&amp;lt;double, int&amp;gt;' requested here
    RcmRelabel(matrix, relabel_indices);
    ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:656:9: note: in instantiation of function template specialization 'RcmRelabel&amp;lt;double, int&amp;gt;' requested here
        RcmRelabel(csr_matrix, !g_quiet);
        ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:830:5: note: in instantiation of function template specialization 'RunTest&amp;lt;double, int&amp;gt;' requested here
    RunTest(
    ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:906:9: note: in instantiation of function template specialization 'RunTests&amp;lt;double, int&amp;gt;' requested here
        RunTests&amp;lt;double, int&amp;gt;(rcm_relabel, alpha, beta, mtx_filename, grid2d, grid3d, wheel, dense, timing_iterations, args);
        ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\sparse_matrix.h:1080:10: note: candidate function not viable: 'this' argument has type 'const std::_Tree_comp_alloc&amp;lt;std::_Tset_traits&amp;lt;int, OrderByLow&amp;lt;int&amp;gt;, std::allocator&amp;lt;int&amp;gt;, false&amp;gt; &amp;gt;::key_compare' (aka 'const OrderByLow&amp;lt;int&amp;gt;'), but method is not marked const
    bool operator()(const OffsetT &amp;amp;a, const OffsetT &amp;amp;b)
         ^
In file included from C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:33:
In file included from C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\map:8:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xtree:1992:23: error: no matching function for call to object of type 'const std::_Tree_comp_alloc&amp;lt;std::_Tset_traits&amp;lt;int, OrderByLow&amp;lt;int&amp;gt;, std::allocator&amp;lt;int&amp;gt;, false&amp;gt; &amp;gt;::key_compare' (aka 'const OrderByLow&amp;lt;int&amp;gt;')
                        if (_DEBUG_LT_PRED(this-&amp;gt;_Getcomp(), _Keyval, this-&amp;gt;_Key(_Pnode)))
                                           ^~~~~~~~~~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\xutility:1093:38: note: expanded from macro '_DEBUG_LT_PRED'
  #define _DEBUG_LT_PRED(pred, x, y)    pred(x, y)
                                        ^~~~
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\sparse_matrix.h:1080:10: note: candidate function not viable: 'this' argument has type 'const std::_Tree_comp_alloc&amp;lt;std::_Tset_traits&amp;lt;int, OrderByLow&amp;lt;int&amp;gt;, std::allocator&amp;lt;int&amp;gt;, false&amp;gt; &amp;gt;::key_compare' (aka 'const OrderByLow&amp;lt;int&amp;gt;'), but method is not marked const
    bool operator()(const OffsetT &amp;amp;a, const OffsetT &amp;amp;b)
         ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:598:13: warning: format specifies type 'int' but the argument has type 'unsigned long long' [-Wformat]
            sizeof(ValueT) * 8,
            ^~~~~~~~~~~~~~~~~~
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:719:5: note: in instantiation of function template specialization 'DisplayPerf&amp;lt;double, int&amp;gt;' requested here
    DisplayPerf(device_giga_bandwidth, avg_millis, csr_matrix);
    ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:830:5: note: in instantiation of function template specialization 'RunTest&amp;lt;double, int&amp;gt;' requested here
    RunTest(
    ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:906:9: note: in instantiation of function template specialization 'RunTests&amp;lt;double, int&amp;gt;' requested here
        RunTests&amp;lt;double, int&amp;gt;(rcm_relabel, alpha, beta, mtx_filename, grid2d, grid3d, wheel, dense, timing_iterations, args);
        ^
In file included from C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:46:
In file included from C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\device\device_spmv.cuh:41:
In file included from C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\device\dispatch\dispatch_spmv_orig.cuh:41:
In file included from C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\agent\agent_segment_fixup.cuh:39:
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\block\block_load.cuh:172:37: warning: expression does not compute the number of elements in this array; element type is 'cub::KeyValuePair&amp;lt;int, double&amp;gt;', not 'DeviceWord' (aka 'unsigned long long') [-Wsizeof-array-div]
        TOTAL_WORDS = sizeof(items) / sizeof(DeviceWord),
                             ~~~~~  ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\block\block_load.cuh:765:13: note: in instantiation of function template specialization 'cub::InternalLoadDirectBlockedVectorized&amp;lt;cub::LOAD_DEFAULT, cub::KeyValuePair&amp;lt;int, double&amp;gt;, 4&amp;gt;' requested here
            InternalLoadDirectBlockedVectorized&amp;lt;MODIFIER&amp;gt;(linear_tid, block_itr.ptr, items);
            ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\block\block_load.cuh:1134:48: note: in instantiation of function template specialization 'cub::BlockLoad&amp;lt;cub::KeyValuePair&amp;lt;int, double&amp;gt;, 128, 4, cub::BLOCK_LOAD_VECTORIZE, 1, 1, 0&amp;gt;::LoadInternal&amp;lt;cub::BLOCK_LOAD_VECTORIZE, 0&amp;gt;::Load&amp;lt;cub::LOAD_DEFAULT, cub::KeyValuePair&amp;lt;int, double&amp;gt;, int&amp;gt;' requested here
        InternalLoad(temp_storage, linear_tid).Load(block_itr, items);
                                               ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\agent\agent_segment_fixup.cuh:284:53: note: in instantiation of function template specialization 'cub::BlockLoad&amp;lt;cub::KeyValuePair&amp;lt;int, double&amp;gt;, 128, 4, cub::BLOCK_LOAD_VECTORIZE, 1, 1, 0&amp;gt;::Load&amp;lt;cub::CacheModifiedInputIterator&amp;lt;cub::LOAD_DEFAULT, cub::KeyValuePair&amp;lt;int, double&amp;gt;, int&amp;gt; &amp;gt;' requested here
            BlockLoadPairs(temp_storage.load_pairs).Load(d_pairs_in + tile_offset, pairs);
                                                    ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\agent\agent_segment_fixup.cuh:361:13: note: in instantiation of function template specialization 'cub::AgentSegmentFixup&amp;lt;cub::DispatchSpmv&amp;lt;double, int&amp;gt;::PtxSegmentFixupPolicy, cub::KeyValuePair&amp;lt;int, double&amp;gt; *, double *, cub::Equality, cub::Sum, int&amp;gt;::ConsumeTile&amp;lt;false&amp;gt;' requested here
            ConsumeTile&amp;lt;false&amp;gt;(num_remaining, tile_idx, tile_offset, tile_state, Int2Type&amp;lt;USE_ATOMIC_FIXUP&amp;gt;());
            ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\device\dispatch\dispatch_spmv_orig.cuh:220:97: note: in instantiation of member function 'cub::AgentSegmentFixup&amp;lt;cub::DispatchSpmv&amp;lt;double, int&amp;gt;::PtxSegmentFixupPolicy, cub::KeyValuePair&amp;lt;int, double&amp;gt; *, double *, cub::Equality, cub::Sum, int&amp;gt;::ConsumeRange' requested here
    AgentSegmentFixupT(temp_storage, d_pairs_in, d_aggregates_out, cub::Equality(), cub::Sum()).ConsumeRange(
                                                                                                ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\device\dispatch\dispatch_spmv_orig.cuh:820:17: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
                DeviceSegmentFixupKernel&amp;lt;PtxSegmentFixupPolicy, KeyValuePairT*, ValueT*, OffsetT, ScanTileStateT&amp;gt;,
                ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\device\device_spmv.cuh:158:43: note: in instantiation of member function 'cub::DispatchSpmv&amp;lt;double, int&amp;gt;::Dispatch' requested here
        return DispatchSpmv&amp;lt;ValueT, int&amp;gt;::Dispatch(
                                          ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:526:30: note: in instantiation of function template specialization 'cub::DeviceSpmv::CsrMV&amp;lt;double&amp;gt;' requested here
    CubDebugExit(DeviceSpmv::CsrMV(
                             ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:725:22: note: in instantiation of function template specialization 'TestGpuMergeCsrmv&amp;lt;double, int&amp;gt;' requested here
        avg_millis = TestGpuMergeCsrmv(vector_y_in, vector_y_out, params, timing_iterations);
                     ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:830:5: note: in instantiation of function template specialization 'RunTest&amp;lt;double, int&amp;gt;' requested here
    RunTest(
    ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:906:9: note: in instantiation of function template specialization 'RunTests&amp;lt;double, int&amp;gt;' requested here
        RunTests&amp;lt;double, int&amp;gt;(rcm_relabel, alpha, beta, mtx_filename, grid2d, grid3d, wheel, dense, timing_iterations, args);
        ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\block\block_load.cuh:165:14: note: array 'items' declared here
    T      (&amp;amp;items)[ITEMS_PER_THREAD]) ///&amp;lt; [out] Data to load
             ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\block\block_load.cuh:172:37: note: place parentheses around the 'sizeof(DeviceWord)' expression to silence this warning
        TOTAL_WORDS = sizeof(items) / sizeof(DeviceWord),
                                    ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:598:13: warning: format specifies type 'int' but the argument has type 'unsigned long long' [-Wformat]
            sizeof(ValueT) * 8,
            ^~~~~~~~~~~~~~~~~~
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:719:5: note: in instantiation of function template specialization 'DisplayPerf&amp;lt;float, int&amp;gt;' requested here
    DisplayPerf(device_giga_bandwidth, avg_millis, csr_matrix);
    ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:830:5: note: in instantiation of function template specialization 'RunTest&amp;lt;float, int&amp;gt;' requested here
    RunTest(
    ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:910:9: note: in instantiation of function template specialization 'RunTests&amp;lt;float, int&amp;gt;' requested here
        RunTests&amp;lt;float, int&amp;gt;(rcm_relabel, alpha, beta, mtx_filename, grid2d, grid3d, wheel, dense, timing_iterations, args);
        ^
In file included from C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:46:
In file included from C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\device\device_spmv.cuh:41:
In file included from C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\device\dispatch\dispatch_spmv_orig.cuh:41:
In file included from C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\agent\agent_segment_fixup.cuh:39:
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\block\block_load.cuh:172:37: warning: expression does not compute the number of elements in this array; element type is 'cub::KeyValuePair&amp;lt;int, float&amp;gt;', not 'DeviceWord' (aka 'unsigned int') [-Wsizeof-array-div]
        TOTAL_WORDS = sizeof(items) / sizeof(DeviceWord),
                             ~~~~~  ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\block\block_load.cuh:765:13: note: in instantiation of function template specialization 'cub::InternalLoadDirectBlockedVectorized&amp;lt;cub::LOAD_DEFAULT, cub::KeyValuePair&amp;lt;int, float&amp;gt;, 4&amp;gt;' requested here
            InternalLoadDirectBlockedVectorized&amp;lt;MODIFIER&amp;gt;(linear_tid, block_itr.ptr, items);
            ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\block\block_load.cuh:1134:48: note: in instantiation of function template specialization 'cub::BlockLoad&amp;lt;cub::KeyValuePair&amp;lt;int, float&amp;gt;, 128, 4, cub::BLOCK_LOAD_VECTORIZE, 1, 1, 0&amp;gt;::LoadInternal&amp;lt;cub::BLOCK_LOAD_VECTORIZE, 0&amp;gt;::Load&amp;lt;cub::LOAD_DEFAULT, cub::KeyValuePair&amp;lt;int, float&amp;gt;, int&amp;gt;' requested here
        InternalLoad(temp_storage, linear_tid).Load(block_itr, items);
                                               ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\agent\agent_segment_fixup.cuh:284:53: note: in instantiation of function template specialization 'cub::BlockLoad&amp;lt;cub::KeyValuePair&amp;lt;int, float&amp;gt;, 128, 4, cub::BLOCK_LOAD_VECTORIZE, 1, 1, 0&amp;gt;::Load&amp;lt;cub::CacheModifiedInputIterator&amp;lt;cub::LOAD_DEFAULT, cub::KeyValuePair&amp;lt;int, float&amp;gt;, int&amp;gt; &amp;gt;' requested here
            BlockLoadPairs(temp_storage.load_pairs).Load(d_pairs_in + tile_offset, pairs);
                                                    ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\agent\agent_segment_fixup.cuh:361:13: note: in instantiation of function template specialization 'cub::AgentSegmentFixup&amp;lt;cub::DispatchSpmv&amp;lt;float, int&amp;gt;::PtxSegmentFixupPolicy, cub::KeyValuePair&amp;lt;int, float&amp;gt; *, float *, cub::Equality, cub::Sum, int&amp;gt;::ConsumeTile&amp;lt;false&amp;gt;' requested here
            ConsumeTile&amp;lt;false&amp;gt;(num_remaining, tile_idx, tile_offset, tile_state, Int2Type&amp;lt;USE_ATOMIC_FIXUP&amp;gt;());
            ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\device\dispatch\dispatch_spmv_orig.cuh:220:97: note: in instantiation of member function 'cub::AgentSegmentFixup&amp;lt;cub::DispatchSpmv&amp;lt;float, int&amp;gt;::PtxSegmentFixupPolicy, cub::KeyValuePair&amp;lt;int, float&amp;gt; *, float *, cub::Equality, cub::Sum, int&amp;gt;::ConsumeRange' requested here
    AgentSegmentFixupT(temp_storage, d_pairs_in, d_aggregates_out, cub::Equality(), cub::Sum()).ConsumeRange(
                                                                                                ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\device\dispatch\dispatch_spmv_orig.cuh:820:17: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all)
                DeviceSegmentFixupKernel&amp;lt;PtxSegmentFixupPolicy, KeyValuePairT*, ValueT*, OffsetT, ScanTileStateT&amp;gt;,
                ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\device\device_spmv.cuh:158:43: note: in instantiation of member function 'cub::DispatchSpmv&amp;lt;float, int&amp;gt;::Dispatch' requested here
        return DispatchSpmv&amp;lt;ValueT, int&amp;gt;::Dispatch(
                                          ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:526:30: note: in instantiation of function template specialization 'cub::DeviceSpmv::CsrMV&amp;lt;float&amp;gt;' requested here
    CubDebugExit(DeviceSpmv::CsrMV(
                             ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:725:22: note: in instantiation of function template specialization 'TestGpuMergeCsrmv&amp;lt;float, int&amp;gt;' requested here
        avg_millis = TestGpuMergeCsrmv(vector_y_in, vector_y_out, params, timing_iterations);
                     ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:830:5: note: in instantiation of function template specialization 'RunTest&amp;lt;float, int&amp;gt;' requested here
    RunTest(
    ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\experimental\spmv_compare.cu:910:9: note: in instantiation of function template specialization 'RunTests&amp;lt;float, int&amp;gt;' requested here
        RunTests&amp;lt;float, int&amp;gt;(rcm_relabel, alpha, beta, mtx_filename, grid2d, grid3d, wheel, dense, timing_iterations, args);
        ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\block\block_load.cuh:165:14: note: array 'items' declared here
    T      (&amp;amp;items)[ITEMS_PER_THREAD]) ///&amp;lt; [out] Data to load
             ^
C:\Users\...\Downloads\cuda code\cub-1.8.0\cub\block\block_load.cuh:172:37: note: place parentheses around the 'sizeof(DeviceWord)' expression to silence this warning
        TOTAL_WORDS = sizeof(items) / sizeof(DeviceWord),
                                    ^

Meet signal:SIGSEGV
Intel(R) DPC++ Compatibility Tool tries to give analysis reports and terminates...&lt;/PRE&gt;

&lt;P&gt;Regards,&lt;BR /&gt;Gagan&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jun 2020 13:56:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-crashing-while-conversion/m-p/1186648#M514</guid>
      <dc:creator>Shukla__Gagandeep</dc:creator>
      <dc:date>2020-06-20T13:56:46Z</dc:date>
    </item>
    <item>
      <title>Hi Gagan,</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-crashing-while-conversion/m-p/1186649#M515</link>
      <description>&lt;P&gt;Hi Gagan,&lt;/P&gt;&lt;P&gt;We are also getting the same errors while trying to migrate the cuda file provided by you. So we are escalating this to the concerned team.&lt;/P&gt;&lt;P&gt;Thanks for reporting the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warm Regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 12:49:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-crashing-while-conversion/m-p/1186649#M515</guid>
      <dc:creator>AbhishekD_Intel</dc:creator>
      <dc:date>2020-06-22T12:49:21Z</dc:date>
    </item>
    <item>
      <title>Re:dpct crashing while conversion</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-crashing-while-conversion/m-p/1200278#M647</link>
      <description>&lt;P&gt;This issue is fixed in Beta08. Please confirm.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Aug 2020 08:42:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-crashing-while-conversion/m-p/1200278#M647</guid>
      <dc:creator>Subarnarek_G_Intel</dc:creator>
      <dc:date>2020-08-14T08:42:06Z</dc:date>
    </item>
    <item>
      <title>Re:dpct crashing while conversion</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-crashing-while-conversion/m-p/1203448#M676</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>Mon, 24 Aug 2020 11:29:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/dpct-crashing-while-conversion/m-p/1203448#M676</guid>
      <dc:creator>Subarnarek_G_Intel</dc:creator>
      <dc:date>2020-08-24T11:29:27Z</dc:date>
    </item>
  </channel>
</rss>

