mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
Refactor ThreadArbitrationPolicy definitions
Change-Id: Ia5d9d3b915b14a1ed6c8dd8d7e7c38dab674b6f2
This commit is contained in:

committed by
sys_ocldev

parent
e527a439cd
commit
70e85be96a
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, Intel Corporation
|
||||
* Copyright (c) 2017 - 2018, Intel Corporation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@ -22,9 +22,12 @@
|
||||
#pragma once
|
||||
#include <stdint.h>
|
||||
namespace OCLRT {
|
||||
namespace ThreadArbitrationPolicy {
|
||||
const uint32_t AgeBased = 0x0u;
|
||||
const uint32_t RoundRobin = 0x1u;
|
||||
const uint32_t NotPresent = 0xffffffffu;
|
||||
} // namespace ThreadArbitrationPolicy
|
||||
struct ThreadArbitrationPolicy {
|
||||
enum {
|
||||
AgeBased = 0x0u,
|
||||
RoundRobin = 0x1u,
|
||||
RoundRobinAfterDependency = 0x2u,
|
||||
NotPresent = 0xffffffffu
|
||||
};
|
||||
};
|
||||
} // namespace OCLRT
|
||||
|
@ -34,9 +34,6 @@
|
||||
#include <cstdint>
|
||||
|
||||
namespace OCLRT {
|
||||
namespace ThreadArbitrationPolicy {
|
||||
const uint32_t RoundRobinAfterDependency = 2;
|
||||
}
|
||||
namespace RowChickenReg4 {
|
||||
const uint32_t address = 0xE48C;
|
||||
const uint32_t regDataForArbitrationPolicy[3] = {
|
||||
|
@ -23,7 +23,6 @@
|
||||
#pragma once
|
||||
#include "igfxfmid.h"
|
||||
#include "stdint.h"
|
||||
#include "runtime/command_stream/thread_arbitration_policy.h"
|
||||
#include "runtime/helpers/pipeline_select_helper.h"
|
||||
#include <cstddef>
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
#include "runtime/built_ins/built_ins.h"
|
||||
#include "runtime/built_ins/builtins_dispatch_builder.h"
|
||||
#include "runtime/command_stream/thread_arbitration_policy.h"
|
||||
#include "reg_configs_common.h"
|
||||
#include "runtime/helpers/preamble.h"
|
||||
#include "runtime/memory_manager/graphics_allocation.h"
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
#include "runtime/command_stream/linear_stream.h"
|
||||
#include "runtime/command_stream/command_stream_receiver.h"
|
||||
#include "runtime/command_stream/thread_arbitration_policy.h"
|
||||
#include "runtime/command_stream/preemption.h"
|
||||
#include "runtime/memory_manager/memory_manager.h"
|
||||
#include "runtime/memory_manager/graphics_allocation.h"
|
||||
|
Reference in New Issue
Block a user