SYCLomatic
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 *'
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
- migrate the CUDA application (https://github.com/zjin-lcf/HeCBench/tree/master/egs-cuda) with Syclomatic
- build the generated program with a SYCL compiler
Thanks
@jinz2014 reproduced, will do a further investigation.
Sorry, the header file (EGS.h) was missing in the repository.
@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^_^.
Please let me know the building issue so I will update the file. No problem