Skip to content

Commit 4a8d527

Browse files
[SYCL][Bindless][Exp] Fix free_image_mem declaration (#11948)
- A declaration of `free_image_mem` incorrectly took `sycl::device` as a parameter, which should have been a `sycl::queue`. This is now fixed.
1 parent c67b6d7 commit 4a8d527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/include/sycl/ext/oneapi/bindless_images.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ void free_image_mem(image_mem_handle handle, const sycl::device &syclDevice,
9090
*/
9191
__SYCL_EXPORT_DEPRECATED("Distinct image frees are deprecated. "
9292
"Instead use overload that accepts image_type.")
93-
void free_image_mem(image_mem_handle handle, const sycl::device &syclQueue);
93+
void free_image_mem(image_mem_handle handle, const sycl::queue &syclQueue);
9494

9595
/**
9696
* @brief Free image memory

0 commit comments

Comments
 (0)