hipSYCL: Use coarse-grained events
We must use command-group properties, which are only available for hipSYCL.
IntelLLVM does not have queue::submit(const property_list& prop_list, T cgf)
,
so we resort to using #define
. Similar syntax is used, e.g., in the example
in https://en.cppreference.com/w/cpp/algorithm/reduce, so it's not too bad.
Argon 5.7k on MI50: 675->782 ns/day
Refs #4659
Edited by Szilárd Páll