-
Notifications
You must be signed in to change notification settings - Fork 798
Closed
Labels
Description
The accessor properties extensions introduces an additional template parameter for accessors:
namespace sycl {
template <typename dataT,
int dimensions,
access::mode accessmode,
access::target accessTarget,
access::placeholder isPlaceholder,
typename property_listT = accessor_property_list<>> // here
class accessor {
However, this cannot be used together with placeholder accessors because handler::require
is missing this parameter:
llvm/sycl/include/CL/sycl/handler.hpp
Line 1079 in 5860468
require(accessor<DataT, Dims, AccMode, AccTarget, access::placeholder::true_t> |
Example error from my test cases:
/home/jan/sycl-workspace/sycl/build/bin/../include/sycl/CL/sycl/handler.hpp:896:3: note: candidate template ignored: could not match 'accessor_property_list<(no argument)>' against 'accessor_property_list<sycl::INTEL::property::buffer_location::instance<0>>'
require(accessor<DataT, Dims, AccMode, AccTarget, access::placeholder::true_t>
^