I think we need to check the dimensionality of the kernel as well (see https://github.com/KhronosGroup/SYCL-Docs/issues/142). _Originally posted by @AaronBallman in https://github.com/intel/llvm/pull/3728#discussion_r631073882_