DPCT1119#

Message#

Migration of <type or API> is not supported, please try to remigrate with option: <option name>.

Detailed Help#

The default behavior of SYCLomatic does not apply the experimental extension in the migration, you need to re-migrate with the recommend option in order to get the workable code.

Suggestions to Fix#

For example, this original CUDA* code:

1__device__ void testReduce(const cg::thread_block &cta) {
2  cg::thread_block_tile<16> tile16 = cg::tiled_partition<16>(cta);
3}

results in the following migrated SYCL* code:

 1void testReduce(const sycl::group<3> &cta, const sycl::nd_item<3> &item_ct1) {
 2  /*
 3  DPCT1007:0: Migration of tiled_partition is not supported.
 4  */
 5  /*
 6  DPCT1119:1: Migration of cooperative_groups::__v1::thread_block_tile<16> is not
 7  supported, please try to remigrate with option:
 8  --use-experimental-features=logical-group.
 9  */
10  cg::thread_block_tile<16> tile16 = cg::tiled_partition<16>(cta);
11}

which needs to be re-migrated with “–use-experimental-features=logical-group”:

1void testReduce(const sycl::group<3> &cta, const sycl::nd_item<3> &item_ct1) {
2  dpct::experimental::logical_group tile16 =
3      dpct::experimental::logical_group(item_ct1, item_ct1.get_group(), 16);
4}