Skip to content

Commit 23578f6

Browse files
author
the-slow-one
authored
Store the image wrapper for the given handle
1 parent 7d3f6e9 commit 23578f6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

clang/runtime/dpct-rt/include/dpct/bindless_images.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1690,6 +1690,7 @@ class bindless_image_wrapper_base {
16901690
_addressing_mode, _coordinate_normalization_mode, _filtering_mode);
16911691
_img = sycl::ext::oneapi::experimental::create_image(
16921692
mem->get_handle(), samp, mem->get_desc(), q);
1693+
set_img_mem(_img, mem);
16931694
}
16941695

16951696
/// Attach image memory to bindless image.

0 commit comments

Comments
 (0)