Skip to content

Commit 13947da

Browse files
committed
[SYCL][Doc] Specify base pointer alignment for L0 and OpenCL in bindless images
1 parent eb9e685 commit 13947da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sycl/doc/extensions/experimental/sycl_ext_oneapi_bindless_images.asciidoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,9 @@ void *pitched_alloc_device(size_t *resultPitch,
534534

535535
This function will allocate a memory region aimed to be used for
536536
two-dimensional images. It allocates memory that is guaranteed to
537-
adhere to the device's alignment requirements for USM images.
537+
adhere to the device's alignment requirements for USM images. E.g.,
538+
for Level Zero and OpenCL, the USM base pointer is aligned to the
539+
number of pixels.
538540

539541
If the user does not wish to use `pitched_alloc_device` to allocate
540542
two-dimensional USM images, but prefers to use another USM allocation

0 commit comments

Comments
 (0)