Closed SergeyKopienko closed 3 months ago
Agree with reverting. I missed that test3buffers is used at both levels. LGTM with green CI.
Not only test3buffers
:
test1buffer
like
test1buffer<sycl::usm::alloc::device, ValueType, test_is_heap<ValueType, PermItIndexTag>>();
Agree with reverting. I missed that test3buffers is used at both levels. LGTM with green CI.
Not only
test3buffers
:
- for example, also we have the call of
test1buffer
liketest1buffer<sycl::usm::alloc::device, ValueType, test_is_heap<ValueType, PermItIndexTag>>();
Ah, OK. Its confusing to position the overloads like this with both different template parameters and defaulted normal parameters. I'd prefer these overloads to be named differently for clarity (but that's just my opinion, of course). In any case, its clear that the default is needed in both places.
Previously
sycl::buffer
tests rans fromtest1buffer
,test2buffers
,test3buffers
and fromtest4buffers
functions for each type ofalloc_type
template param: forsycl::usm::alloc::shared
and forsycl::usm::alloc::device
.It's look like as extra overhead which we should avoid to reduce CI test time.
Now
sycl::buffer
tests runs only foralloc_type
template param equal tosycl::usm::alloc::shared
(by default).