mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Add pipe control before and after buffer translation
Change-Id: I4ee32c410e1ac2bcdb3ceae203cd461de79146a5
This commit is contained in:
committed by
sys_ocldev
parent
c9e667d601
commit
4b1871bf0e
@@ -1429,6 +1429,17 @@ TEST(StackVec, Clear) {
|
||||
ASSERT_EQ(0U, v2.size());
|
||||
}
|
||||
|
||||
TEST(StackVec, ReverseBeginningFunctions) {
|
||||
using VecType = StackVec<int, 1>;
|
||||
VecType v;
|
||||
v.push_back(5);
|
||||
|
||||
ASSERT_EQ(v.begin(), v.rend().base());
|
||||
ASSERT_EQ(v.end(), v.rbegin().base());
|
||||
ASSERT_EQ(v.begin(), v.crend().base());
|
||||
ASSERT_EQ(v.end(), v.crbegin().base());
|
||||
}
|
||||
|
||||
TEST(StackVec, ConstMemberFunctions) {
|
||||
using VecType = StackVec<int, 3>;
|
||||
VecType v;
|
||||
|
||||
Reference in New Issue
Block a user