You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current underlying values of cl::sycl::info::device_type do not lend themselves for bitwise operations.
enum class device_type : pi_uint64 {
cpu = PI_DEVICE_TYPE_CPU,
gpu = PI_DEVICE_TYPE_GPU,
accelerator = PI_DEVICE_TYPE_ACC,
// TODO: figure out if we need all the below in PI
custom = CL_DEVICE_TYPE_CUSTOM,
automatic,
host,
all = CL_DEVICE_TYPE_ALL
};
This leads to some unnecessarily complex logic of cl::sycl::detail::match_types and cl::sycl::detail::force_types, which could be merged into a single simpler method.
The text was updated successfully, but these errors were encountered:
Current underlying values of
cl::sycl::info::device_type
do not lend themselves for bitwise operations.This leads to some unnecessarily complex logic of
cl::sycl::detail::match_types
andcl::sycl::detail::force_types
, which could be merged into a single simpler method.The text was updated successfully, but these errors were encountered: