mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
21 lines
335 B
C
21 lines
335 B
C
|
|
/*
|
||
|
|
* Copyright (C) 2019 Intel Corporation
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: MIT
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
#include <cstdint>
|
||
|
|
|
||
|
|
namespace OCLRT {
|
||
|
|
enum PreemptionMode : uint32_t {
|
||
|
|
// Keep in sync with ForcePreemptionMode debug variable
|
||
|
|
Initial = 0,
|
||
|
|
Disabled = 1,
|
||
|
|
MidBatch,
|
||
|
|
ThreadGroup,
|
||
|
|
MidThread,
|
||
|
|
};
|
||
|
|
} // namespace OCLRT
|