ULT renaming: AUB Write tests

Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:
Adam Cetnerowski
2021-03-15 15:37:20 +01:00
committed by Compute-Runtime-Automation
parent b77feea30e
commit 9114a3e414
3 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2017-2020 Intel Corporation
* Copyright (C) 2017-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@ -32,7 +32,7 @@ struct WriteBufferHw
typedef WriteBufferHw AUBWriteBuffer;
HWTEST_P(AUBWriteBuffer, simple) {
HWTEST_P(AUBWriteBuffer, WhenWritingBufferThenExpectationsAreMet) {
MockContext context(this->pCmdQ->getDevice().getSpecializedDevice<ClDevice>());
cl_float *srcMemory = new float[1024];
@ -161,7 +161,7 @@ struct AUBWriteBufferUnaligned
}
};
HWTEST_F(AUBWriteBufferUnaligned, all) {
HWTEST_F(AUBWriteBufferUnaligned, GivenOffsetAndSizeWhenWritingBufferThenExpectationsAreMet) {
const std::vector<size_t> offsets = {0, 1, 2, 3};
const std::vector<size_t> sizes = {4, 3, 2, 1};
for (auto offset : offsets) {

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2017-2020 Intel Corporation
* Copyright (C) 2017-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@ -34,7 +34,7 @@ struct WriteBufferRectHw
typedef WriteBufferRectHw AUBWriteBufferRect;
static const size_t width = 10;
HWTEST_P(AUBWriteBufferRect, simple3D) {
HWTEST_P(AUBWriteBufferRect, Given3dWhenWritingBufferThenExpectationsAreMet) {
MockContext context(this->pClDevice);
size_t rowPitch = width;
size_t slicePitch = rowPitch * rowPitch;
@ -179,7 +179,7 @@ struct AUBWriteBufferRectUnaligned
}
};
HWTEST_F(AUBWriteBufferRectUnaligned, misalignedHostPtr) {
HWTEST_F(AUBWriteBufferRectUnaligned, GivenMisalignedHostPtrWhenWritingBufferThenExpectationsAreMet) {
const std::vector<size_t> offsets = {0, 1, 2, 3};
const std::vector<size_t> sizes = {4, 3, 2, 1};
for (auto offset : offsets) {

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2017-2020 Intel Corporation
* Copyright (C) 2017-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@ -61,7 +61,7 @@ struct AUBWriteImage
std::unique_ptr<Image> dstImage;
};
HWTEST_P(AUBWriteImage, simpleUnalignedMemory) {
HWTEST_P(AUBWriteImage, GivenUnalignedMemoryWhenWritingImageThenExpectationsAreMet) {
const unsigned int testWidth = 5;
const unsigned int testHeight =
@ -231,7 +231,7 @@ INSTANTIATE_TEST_CASE_P(AUBWriteImage_simple, AUBWriteImage,
using AUBWriteImageUnaligned = AUBImageUnaligned;
HWTEST_F(AUBWriteImageUnaligned, misalignedHostPtr) {
HWTEST_F(AUBWriteImageUnaligned, GivenMisalignedHostPtrWhenWritingImageThenExpectationsAreMet) {
const std::vector<size_t> pixelSizes = {1, 2, 4};
const std::vector<size_t> offsets = {0, 1, 2, 3};
const std::vector<size_t> sizes = {3, 2, 1};