Skip to content

Commit

Permalink
Updates DPCPP polyfill and function calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
kris-rowe committed Dec 19, 2022
1 parent 8d9e284 commit abff973
Show file tree
Hide file tree
Showing 3 changed files with 274 additions and 418 deletions.
2 changes: 1 addition & 1 deletion src/occa/internal/modes/dpcpp/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ namespace occa

dim device::maxInnerDims() const
{
::sycl::id<3> max_wi_sizes{dpcppDevice.get_info<::sycl::info::device::max_work_item_sizes>()};
::sycl::id<3> max_wi_sizes{dpcppDevice.get_info<::sycl::info::device::max_work_item_sizes<3>>()};
return dim{max_wi_sizes[occa::dpcpp::x_index],
max_wi_sizes[occa::dpcpp::y_index],
max_wi_sizes[occa::dpcpp::z_index]};
Expand Down
Loading

0 comments on commit abff973

Please sign in to comment.