Lines Matching refs:dataOut
45 std::vector<float> dataIn(128), dataOut(128); in TEST_P() local
50 context->allocation1DRead(allocation, 0, 0, (uint32_t)dataOut.size(), (Ptr)dataOut.data(), in TEST_P()
51 (Size)dataOut.size()*sizeof(float)); 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
88 (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(float), 0); 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
123 context->allocation3DRead(allocation, 0, 0, 0, 0, 32, 32, 32, (Ptr)dataOut.data(), in TEST_P()
124 (Size)dataOut.size()*sizeof(float), 0); in TEST_P()
125 EXPECT_EQ(dataIn, dataOut); in TEST_P()
193 std::vector<float> dataIn(512*512), dataOut(256*256), expected(256*256); in TEST_P() local
211 context->allocationRead(allocDst, (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(float)); in TEST_P()
217 EXPECT_EQ(expected, dataOut); in TEST_P()
245 std::vector<float> dataIn(128*128*128), dataOut(64*64*64), expected(64*64*64); in TEST_P() local
263 context->allocationRead(allocDst, (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(float)); in TEST_P()
271 EXPECT_EQ(expected, dataOut); in TEST_P()
294 std::vector<float> dataIn(512*512), dataOut(256*256), expected; in TEST_P() local
322 256, (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(float), 0); in TEST_P()
328 EXPECT_EQ(expected, dataOut); in TEST_P()
351 std::vector<uint8_t> dataIn(64*64), dataOut(32*32), expected(32*32); in TEST_P() local
367 (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(uint8_t), in TEST_P()
375 EXPECT_EQ(expected, dataOut); in TEST_P()
398 std::vector<float> dataIn(128*128*6), dataOut(128*128), expected(128*128); in TEST_P() local
408 128, (Ptr)dataOut.data(), (Size)dataOut.size()*sizeof(float), in TEST_P()
415 EXPECT_EQ(expected, dataOut); in TEST_P()
469 std::vector<uint32_t> dataIn(1), dataOut(1); in TEST_P() local
474 context->allocationElementRead(allocation, 0, 0, 0, 0, (Ptr)dataOut.data(), in TEST_P()
475 (Size)dataOut.size()*sizeof(uint32_t), 1); in TEST_P()
476 EXPECT_EQ(dataIn, dataOut); in TEST_P()