Adding initial PreemptionMode::Initial

- account for initial setting (when set mode was equal to initial(Disabled))
estimate size in cmdStreamCS, program MMIO

Change-Id: Ice218ae986583c8f3bab4f4f6979e38f03e30d7e
This commit is contained in:
Hoppe, Mateusz
2018-02-08 13:41:02 +01:00
committed by sys_ocldev
parent 4db1e3af6a
commit 012b8bd73c
11 changed files with 22 additions and 14 deletions

View File

@@ -31,10 +31,11 @@ namespace OCLRT {
enum class PreemptionMode : uint32_t {
// Keep in sync with ForcePreemptionMode debug variable
Initial = 0,
Disabled = 1,
MidBatch,
ThreadGroup,
MidThread
MidThread,
};
struct WhitelistedRegisters {