Searched refs:dataIn (Results 1 – 3 of 3) sorted by relevance
/hardware/interfaces/renderscript/1.0/vts/functional/ |
D | VtsCopyTests.cpp | 45 std::vector<float> dataIn(128), dataOut(128); in TEST_P() local 46 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return (float)val++; }); in TEST_P() 48 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(float)); in TEST_P() 49 context->allocation1DWrite(allocation, 0, 0, (Size)dataIn.size(), _data); in TEST_P() 52 EXPECT_EQ(dataIn, dataOut); in TEST_P() 81 std::vector<float> dataIn(128*128), dataOut(128*128); in TEST_P() local 82 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return (float)val++; }); in TEST_P() 84 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(float)); in TEST_P() 89 EXPECT_EQ(dataIn, dataOut); in TEST_P() 118 std::vector<float> dataIn(32*32*32), dataOut(32*32*32); in TEST_P() local [all …]
|
D | VtsScriptTests.cpp | 208 std::vector<uint8_t> dataIn(64), dataOut(64), expected(64); in TEST_P() local 209 std::generate(dataIn.begin(), dataIn.end(), [](){ static uint8_t val = 0; return val++; }); in TEST_P() 212 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()); in TEST_P() 224 context->allocation1DWrite(allocation, 0, 0, (Size)dataIn.size(), _data); in TEST_P() 257 std::vector<int> dataIn(64), dataOut(1); in TEST_P() local 258 std::generate(dataIn.begin(), dataIn.end(), [](){ static int val = 0; return val++; }); in TEST_P() 260 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(int)); in TEST_P() 272 context->allocation1DWrite(allocation, 0, 0, (Size)dataIn.size(), _data); in TEST_P() 311 std::vector<int> dataIn(64), dataOut(64), expected(64, 5); in TEST_P() local 313 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(int)); in TEST_P() [all …]
|
D | VtsMiscellaneousTests.cpp | 157 std::vector<uint32_t> dataIn(512*512), dataOut(512*512); in TEST_P() local 158 std::generate(dataIn.begin(), dataIn.end(), [](){ static uint32_t val = 0; return val++; }); in TEST_P() 160 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(uint32_t)); in TEST_P() 188 EXPECT_EQ(dataIn, dataOut); in TEST_P() 210 std::vector<uint32_t> dataIn(512*512), dataOut1(512*512), dataOut2(512*512); in TEST_P() local 211 std::generate(dataIn.begin(), dataIn.end(), [](){ static uint32_t val = 0; return val++; }); in TEST_P() 213 _data.setToExternal((uint8_t*)dataIn.data(), dataIn.size()*sizeof(uint32_t)); in TEST_P() 254 EXPECT_EQ(dataIn, dataOut1); in TEST_P() 262 EXPECT_EQ(dataIn, dataOut2); in TEST_P()
|