diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-08-25 12:50:55 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-08-25 12:50:55 +0300 |
commit | d4764a385abb9420e139fffb8909dd914d894d6f (patch) | |
tree | 627ad4dcefe4647fd1c4da8ac5eedb37109338aa /intern/cycles | |
parent | e50c7a244b83fd4f784480f22c3a467b7c50d667 (diff) | |
parent | 9c2bc57cbda917d58d02f41137f48f6f199ab576 (diff) |
Merge branch 'blender-v3.3-release'
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/kernel/device/oneapi/kernel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/cycles/kernel/device/oneapi/kernel.cpp b/intern/cycles/kernel/device/oneapi/kernel.cpp index 7e90c553c44..ca430285144 100644 --- a/intern/cycles/kernel/device/oneapi/kernel.cpp +++ b/intern/cycles/kernel/device/oneapi/kernel.cpp @@ -818,7 +818,8 @@ char *oneapi_device_capabilities() GET_NUM_ATTR(max_compute_units) GET_NUM_ATTR(max_work_item_dimensions) - sycl::id<3> max_work_item_sizes = device.get_info<sycl::info::device::max_work_item_sizes>(); + sycl::id<3> max_work_item_sizes = + device.get_info<sycl::info::device::max_work_item_sizes<3>>(); WRITE_ATTR("max_work_item_sizes_dim0", ((size_t)max_work_item_sizes.get(0))) WRITE_ATTR("max_work_item_sizes_dim1", ((size_t)max_work_item_sizes.get(1))) WRITE_ATTR("max_work_item_sizes_dim2", ((size_t)max_work_item_sizes.get(2))) |