llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[SYCL] Optimize NDRDescT by removing sycl::range, sycl::id and padding

Open DBDuncan opened this issue 4 months ago • 4 comments

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.

DBDuncan avatar Jun 06 '25 15:06 DBDuncan