Skip to content

Commit

Permalink
Merge pull request #895 from KornevNikita/update-test-accessor
Browse files Browse the repository at this point in the history
Update test_accessor according to the spec change
  • Loading branch information
steffenlarsen authored Jun 13, 2024
2 parents 35ba537 + 8be93c4 commit a172a02
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/accessor/accessor_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,9 @@ void test_accessor_ptr_device(AccT& accessor, T& expected_data, AccRes& res_acc,
expected_data);

auto acc_pointer = accessor.get_pointer();
res_acc[res_i++] = std::is_same_v<decltype(acc_pointer), sycl::global_ptr<T>>;
res_acc[res_i++] =
std::is_same_v<decltype(acc_pointer),
sycl::global_ptr<typename AccT::value_type>>;
res_acc[res_i++] = value_operations::are_equal(*acc_pointer, expected_data);
}
#endif // !SYCL_CTS_COMPILING_WITH_HIPSYCL
Expand Down

0 comments on commit a172a02

Please sign in to comment.