Skip to content

Commit 218531c

Browse files
steffenlarsenbb-sycl
authored andcommitted
[SYCL] Adjust stream test to use new member function names (intel#1573)
This commit changes the use of get_size() and get_max_statement_size() on sycl::stream with size() and get_work_item_buffer_size() respectively. Signed-off-by: Larsen, Steffen <[email protected]>
1 parent f393510 commit 218531c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SYCL/Basic/stream/stream.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ int main() {
2727
Queue.submit([&](handler &CGH) {
2828
stream Out(1024, 80, CGH,
2929
property_list{property::buffer::context_bound{Context}});
30-
assert(Out.get_size() == 1024);
31-
assert(Out.get_max_statement_size() == 80);
30+
assert(Out.size() == 1024);
31+
assert(Out.get_work_item_buffer_size() == 80);
3232
assert(Out.has_property<property::buffer::context_bound>());
3333
assert(!Out.has_property<property::queue::in_order>());
3434
assert(

0 commit comments

Comments
 (0)