SYCLomatic icon indicating copy to clipboard operation
SYCLomatic copied to clipboard

no viable conversion from 'typename AccessorCommonT::AccessorSubscript<2 - 1, local_accessor_base<unsigned int, 2, (mode)1026, (placeholder)0>>' to 'volatile uint *'

Open jinz2014 opened this issue 1 year ago • 4 comments

Building the generated program from the CUDA application produces the following error:

./kernels.dp.cpp:110:18: error: no viable conversion from 'typename AccessorCommonT::AccessorSubscript<2 - 1, local_accessor_base<unsigned int, 2, (mode)1026, (placeholder)0>>' to 'volatile uint *' (aka 'volatile unsigned int *') volatile uint *status = MT_statuses_shared[idx.w];

To reproduce

  1. migrate the CUDA application (https://github.com/zjin-lcf/HeCBench/tree/master/egs-cuda) with Syclomatic
  2. build the generated program with a SYCL compiler

Thanks

jinz2014 avatar Jun 23 '23 21:06 jinz2014

@jinz2014 reproduced, will do a further investigation.

tomflinda avatar Jun 25 '23 05:06 tomflinda

Sorry, the header file (EGS.h) was missing in the repository.

jinz2014 avatar Jun 28 '23 15:06 jinz2014

@jinz2014 yes, besides the missing EGS.h, the Makefile also has building issue. I have fixed them manually, now all the migration issues have been identified, we will plan to fix them. Thanks for your reminding^_^.

tomflinda avatar Jul 13 '23 03:07 tomflinda

Please let me know the building issue so I will update the file. No problem

jinz2014 avatar Jul 13 '23 04:07 jinz2014