You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both of them have AllocatorT template type parameter that is a type of an allocator used by the corresponding class. But no allocators of the given type can be passed to the constructors of an object of sampled_image class (unlike unsampled_image class). It looks like a bug in the specification.
The text was updated successfully, but these errors were encountered:
Comparing unsampled_image to sampled_image, I also see that sampled_image is missing the get_allocator() member function. Looking at the git history, it seems like these omissions can be traced back to the original MR that added the sampled and unsampled image classes (https://gitlab.khronos.org/sycl/Specification/-/merge_requests/398).
I presume it was our intent to allow sampled_image to have a custom allocator. Does anyone involved with the original sampled / unsampled image design know of a reason why we would not want that?
Compare the current interfaces of
sampled_image
andunsampled_image
classes in SYCL 2020 rev 3 specification:SYCL-Docs/adoc/headers/sampledImage.h
Lines 19 to 40 in 3aa000f
SYCL-Docs/adoc/headers/unsampledImage.h
Lines 19 to 76 in 3aa000f
Both of them have
AllocatorT
template type parameter that is a type of an allocator used by the corresponding class. But no allocators of the given type can be passed to the constructors of an object ofsampled_image
class (unlikeunsampled_image
class). It looks like a bug in the specification.The text was updated successfully, but these errors were encountered: