mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
ULT renaming: Program tests
Related-To: NEO-2236 Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
50841bfd0d
commit
74651237b2
@ -1119,7 +1119,7 @@ TEST_F(KernelDataTest, GivenDataParameterSamplerAddressModeWhenBuildingThenProgr
|
||||
EXPECT_EQ(dataOffset, pKernelInfo->kernelArgInfo[0].offsetSamplerAddressingMode);
|
||||
}
|
||||
|
||||
TEST_F(KernelDataTest, GivenDataParameterSamplerCoordinateSnapWaRequired) {
|
||||
TEST_F(KernelDataTest, GivenDataParameterSamplerCoordinateSnapWaIsRequiredThenKernelInfoIsCorrect) {
|
||||
uint32_t argumentNumber = 1;
|
||||
uint32_t dataOffset = 20;
|
||||
uint32_t dataSize = sizeof(uint32_t);
|
||||
@ -1147,7 +1147,7 @@ TEST_F(KernelDataTest, GivenDataParameterSamplerCoordinateSnapWaRequired) {
|
||||
EXPECT_EQ(dataOffset, pKernelInfo->kernelArgInfo[1].offsetSamplerSnapWa);
|
||||
}
|
||||
|
||||
TEST_F(KernelDataTest, GivenDataParameterSamplerNormalizedCoords) {
|
||||
TEST_F(KernelDataTest, GivenDataParameterSamplerNormalizedCoordsThenKernelInfoIsCorrect) {
|
||||
uint32_t argumentNumber = 1;
|
||||
uint32_t dataOffset = 20;
|
||||
uint32_t dataSize = sizeof(uint32_t);
|
||||
|
@ -262,7 +262,7 @@ TEST(KernelInfo, givenKernelInfoWhenStoreNonTransformableArgThenArgInfoIsNotTran
|
||||
|
||||
using KernelInfoMultiRootDeviceTests = MultiRootDeviceFixture;
|
||||
|
||||
TEST_F(KernelInfoMultiRootDeviceTests, kernelAllocationHasCorrectRootDeviceIndex) {
|
||||
TEST_F(KernelInfoMultiRootDeviceTests, WhenCreatingKernelAllocationThenItHasCorrectRootDeviceIndex) {
|
||||
KernelInfo kernelInfo;
|
||||
const size_t heapSize = 0x40;
|
||||
char heap[heapSize];
|
||||
|
@ -217,7 +217,7 @@ TEST(PrintfHandlerTest, GivenAllocationInLocalMemoryWhichRequiresBlitterWhenPrep
|
||||
|
||||
using PrintfHandlerMultiRootDeviceTests = MultiRootDeviceFixture;
|
||||
|
||||
TEST_F(PrintfHandlerMultiRootDeviceTests, printfSurfaceHasCorrectRootDeviceIndex) {
|
||||
TEST_F(PrintfHandlerMultiRootDeviceTests, GivenPrintfSurfaceThenItHasCorrectRootDeviceIndex) {
|
||||
auto printfSurface = std::make_unique<SPatchAllocateStatelessPrintfSurface>();
|
||||
printfSurface->DataParamOffset = 0;
|
||||
printfSurface->DataParamSize = 8;
|
||||
|
@ -752,7 +752,7 @@ TEST_F(ProgramFromSourceTest, GivenSpecificParamatersWhenBuildingProgramThenSucc
|
||||
EXPECT_EQ(CL_INVALID_PROGRAM, retVal);
|
||||
}
|
||||
|
||||
TEST_F(ProgramFromSourceTest, CreateWithSource_Build_Options_Duplicate) {
|
||||
TEST_F(ProgramFromSourceTest, GivenDuplicateOptionsWhenCreatingWithSourceThenBuildSucceeds) {
|
||||
KernelBinaryHelper kbHelper(binaryFileName, false);
|
||||
|
||||
retVal = pProgram->build(pProgram->getDevices(), nullptr, false);
|
||||
@ -2210,7 +2210,7 @@ TEST_F(Program32BitTests, givenDeviceWithForce32BitAddressingOnWhenProgramIsCrea
|
||||
}
|
||||
}
|
||||
|
||||
TEST_F(ProgramTests, givenNewProgramTheStatelessToStatefulBufferOffsetOtimizationIsMatchingThePlatformEnablingStatus) {
|
||||
TEST_F(ProgramTests, givenNewProgramThenStatelessToStatefulBufferOffsetOptimizationIsMatchingThePlatformEnablingStatus) {
|
||||
MockProgram program(pContext, false, toClDeviceVector(*pClDevice));
|
||||
auto internalOptions = program.getInitInternalOptions();
|
||||
|
||||
|
Reference in New Issue
Block a user