llvm
llvm copied to clipboard
[SYCL] Optimize NDRDescT by removing sycl::range, sycl::id and padding
sycl::range and sycl::id perform validity checks every time setting them. Use std::array instead as dimensions should already be valid. In addition, remove explicitly padding dimensions smaller than 3 and get number of dimensions from template argument instead of function argument.