SYCLomatic daily 2023-03-17
Pre-release
Pre-release
·
110184 commits
to SYCLomatic
since this release
[SYCLomatic] Refactor thrust migration patterns (#621) * [SYCLomatic] Refactor thrust migration patterns Signed-off-by: Lu, John <[email protected]> * Refactor thrust::any_of. Add no_feature request label, when a feature isn't necessary. Signed-off-by: Lu, John <[email protected]> * Refactor thrust::replace and thrust::adjacent_different patterns. Allow patterns with 0 non-pointer parms Signed-off-by: Lu, John <[email protected]> * Don't test Dpct_no_feature with CUDA 8.0 since it uses thrust::any_of Signed-off-by: Lu, John <[email protected]> * Clean up refactoring. Avoid macros as much as possible. Signed-off-by: Lu, John <[email protected]> * Update thrust migrations to use CheckThrustArgType instead of CheckArgType Signed-off-by: Lu, John <[email protected]> * Implement variable args to call rewriter more cleanly Signed-off-by: Lu, John <[email protected]> * Update based on feedback from review. Reformatted with clang-format. Signed-off-by: Lu, John <[email protected]> * Add testcase that generates an unsupported thrust overload migration warning Signed-off-by: Lu, John <[email protected]> * Make PolicyState enum an enum class Signed-off-by: Lu, John <[email protected]> --------- Signed-off-by: Lu, John <[email protected]>