mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
ULT renaming: Gen-specific Coherency tests
Related-To: NEO-2236 Change-Id: I125611329b0198bc4d5eea83cd6bb767b2bcfd2c Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
8c75080d9e
commit
d6d885f5a5
@ -42,7 +42,7 @@ struct Gen11CoherencyRequirements : public ::testing::Test {
|
||||
DispatchFlags flags = DispatchFlagsHelper::createDefaultDispatchFlags();
|
||||
};
|
||||
|
||||
GEN11TEST_F(Gen11CoherencyRequirements, coherencyCmdSize) {
|
||||
GEN11TEST_F(Gen11CoherencyRequirements, GivenSettingsWhenCoherencyRequestedThenProgrammingIsCorrect) {
|
||||
auto lriSize = sizeof(MI_LOAD_REGISTER_IMM);
|
||||
overrideCoherencyRequest(false, false);
|
||||
auto retSize = csr->getCmdSizeForComputeMode();
|
||||
@ -61,7 +61,7 @@ GEN11TEST_F(Gen11CoherencyRequirements, coherencyCmdSize) {
|
||||
EXPECT_EQ(lriSize, retSize);
|
||||
}
|
||||
|
||||
GEN11TEST_F(Gen11CoherencyRequirements, hdcModeCmdValues) {
|
||||
GEN11TEST_F(Gen11CoherencyRequirements, GivenSettingsWhenCoherencyRequestedThenHdcModeCmdValuesAreCorrect) {
|
||||
auto lriSize = sizeof(MI_LOAD_REGISTER_IMM);
|
||||
char buff[MemoryConstants::pageSize];
|
||||
LinearStream stream(buff, MemoryConstants::pageSize);
|
||||
|
@ -17,7 +17,7 @@ using namespace NEO;
|
||||
|
||||
typedef ::testing::Test Gen8CoherencyRequirements;
|
||||
|
||||
GEN8TEST_F(Gen8CoherencyRequirements, noCoherencyProgramming) {
|
||||
GEN8TEST_F(Gen8CoherencyRequirements, WhenMemoryManagerIsInitializedThenNoCoherencyProgramming) {
|
||||
ExecutionEnvironment *executionEnvironment = platform()->peekExecutionEnvironment();
|
||||
executionEnvironment->initializeMemoryManager();
|
||||
CommandStreamReceiverHw<BDWFamily> csr(*executionEnvironment, 0);
|
||||
|
@ -17,7 +17,7 @@ using namespace NEO;
|
||||
|
||||
typedef ::testing::Test Gen9CoherencyRequirements;
|
||||
|
||||
GEN9TEST_F(Gen9CoherencyRequirements, noCoherencyProgramming) {
|
||||
GEN9TEST_F(Gen9CoherencyRequirements, WhenMemoryManagerIsInitializedThenNoCoherencyProgramming) {
|
||||
ExecutionEnvironment *executionEnvironment = platform()->peekExecutionEnvironment();
|
||||
executionEnvironment->initializeMemoryManager();
|
||||
CommandStreamReceiverHw<SKLFamily> csr(*executionEnvironment, 0);
|
||||
|
Reference in New Issue
Block a user