mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 17:20:26 +08:00
Add HW commands const definitions
Change-Id: If2e9d7f7f707b7b8c7bd8dbd3853ab3b6dad0c9a
This commit is contained in:
committed by
sys_ocldev
parent
0c2f5aa491
commit
158f200476
@@ -1084,7 +1084,7 @@ HWTEST_F(KernelCommandsHelperTests, whenProgrammingMiAtomicThenSetupAllFields) {
|
||||
uint8_t buffer[1024] = {};
|
||||
LinearStream cmdStream(buffer, 1024);
|
||||
|
||||
MI_ATOMIC referenceCommand = MI_ATOMIC::sInit();
|
||||
MI_ATOMIC referenceCommand = FamilyType::cmdInitAtomic;
|
||||
referenceCommand.setAtomicOpcode(opcode);
|
||||
referenceCommand.setDataSize(dataSize);
|
||||
referenceCommand.setMemoryAddress(static_cast<uint32_t>(writeAddress & 0x0000FFFFFFFFULL));
|
||||
|
||||
Reference in New Issue
Block a user