-
Notifications
You must be signed in to change notification settings - Fork 795
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
/* Available only when: dimensions >1 */
template <bool B = (Dimensions > 1)>
image(shared_ptr_class<void> &HostPointer, image_channel_order Order,
image_channel_type Type, const range<Dimensions> &Range,
/* const */ typename std::enable_if<B, range<Dimensions - 1>>::type &Pitch, // Note: Missing const.
const property_list &PropList = {}) {
impl = std::make_shared<detail::image_impl<Dimensions>>(
HostPointer, Order, Type, Range, Pitch,
make_unique_ptr<detail::SYCLMemObjAllocatorHolder<AllocatorT>>(),
PropList);
}
/* Available only when: dimensions >1 */
template <bool B = (Dimensions > 1)>
image(shared_ptr_class<void> &HostPointer, image_channel_order Order,
image_channel_type Type, const range<Dimensions> &Range,
/* const */ typename std::enable_if<B, range<Dimensions - 1>>::type &Pitch, // Note: Missing const.
AllocatorT Allocator, const property_list &PropList = {}) {
impl = std::make_shared<detail::image_impl<Dimensions>>(
HostPointer, Order, Type, Range, Pitch,
make_unique_ptr<detail::SYCLMemObjAllocatorHolder<AllocatorT>>(
Allocator),
PropList);
}
Referenced lines:
llvm/sycl/include/CL/sycl/image.hpp
Line 158 in e438bc8
typename std::enable_if<B, range<Dimensions - 1>>::type &Pitch, |
llvm/sycl/include/CL/sycl/image.hpp
Line 170 in e438bc8
typename std::enable_if<B, range<Dimensions - 1>>::type &Pitch, |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working