DPCT1073#

Message#

The field values of parameter <parameter name> could not be deduced, so the call was not migrated. You need to update this code manually.

Detailed Help#

Intel® DPC++ Compatibility Tool could not deduce the field values of the call parameter, which is used in the migrated code.

Suggestions to Fix#

Manually replace the non-migrated call with a DPC++ expression using the actual field values of the parameters.

For example, this original CUDA* code:

1  CUDA_ARRAY_DESCRIPTOR *desc_ptr;
2  CUDA_ARRAY_DESCRIPTOR desc;
3  desc_ptr = &desc;
4
5  Cuarray arr;
6  cuArrayCreate(&arr, desc_ptr)

results in the following migrated SYCL* code:

1  CUDA_ARRAY_DESCRIPTOR *desc_ptr; // line was not migrated and can be removed
2  size_t desc_x_ct1, desc_y_ct1;
3  unsigned desc_channel_num_ct1;
4  sycl::image_channel_type desc_channel_type_ct1;
5  desc_ptr = &desc; // line can be removed
6
7  dpct::image_matrix_p arr;
8  /* DPCT1073 warning */
9  cuArrayCreate(&arr, desc_ptr) // line was not migrated and needs to be replaced

which is manually adjusted to:

1  size_t desc_x_ct1, desc_y_ct1;
2  unsigned desc_channel_num_ct1;
3  sycl::image_channel_type desc_channel_type_ct1;
4
5  dpct::image_matrix_p arr;
6  arr = new dpct::image_matrix(desc_channel_typ_ct1, desc_channel_num_ct1, desc_x_ct1, desc_y_ct1);