mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
Pass more information to programPipelineSelect.
Change-Id: Iaabe60742269b721f8defe71306dd6e87d60d546
This commit is contained in:
@@ -7,14 +7,15 @@
|
||||
|
||||
#pragma once
|
||||
#include "igfxfmid.h"
|
||||
#include "stdint.h"
|
||||
#include "runtime/helpers/pipeline_select_helper.h"
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
namespace OCLRT {
|
||||
|
||||
struct HardwareInfo;
|
||||
class Device;
|
||||
struct DispatchFlags;
|
||||
class GraphicsAllocation;
|
||||
class LinearStream;
|
||||
|
||||
@@ -26,7 +27,7 @@ struct PreambleHelper {
|
||||
static constexpr size_t getScratchSpaceOffsetFor64bit() { return 4096; }
|
||||
|
||||
static void programL3(LinearStream *pCommandStream, uint32_t l3Config);
|
||||
static void programPipelineSelect(LinearStream *pCommandStream, bool mediaSamplerRequired);
|
||||
static void programPipelineSelect(LinearStream *pCommandStream, const DispatchFlags &dispatchFlags);
|
||||
static uint32_t getDefaultThreadArbitrationPolicy();
|
||||
static void programThreadArbitration(LinearStream *pCommandStream, uint32_t requiredThreadArbitrationPolicy);
|
||||
static void programPreemption(LinearStream *pCommandStream, Device &device, GraphicsAllocation *preemptionCsr);
|
||||
|
||||
Reference in New Issue
Block a user