mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Allow Device creating multiple CSRs [5/n]
- Move Engine type to OsContext - Move OsContext to CSR - Improve EngineMapper logic - CompletionStamp cleanup Change-Id: I935cb7169c8c48cd09837e20e3da06f6dd3437b9 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
9a89426ec1
commit
2d77b86e70
@@ -63,9 +63,6 @@ class Device : public BaseObject<_cl_device_id> {
|
||||
const DeviceInfo &getDeviceInfo() const;
|
||||
DeviceInfo *getMutableDeviceInfo();
|
||||
MOCKABLE_VIRTUAL const WorkaroundTable *getWaTable() const;
|
||||
EngineType getEngineType() const {
|
||||
return engineType;
|
||||
}
|
||||
|
||||
void initMaxPowerSavingMode();
|
||||
void *getSLMWindowStartAddress();
|
||||
@@ -120,7 +117,6 @@ class Device : public BaseObject<_cl_device_id> {
|
||||
SourceLevelDebugger *getSourceLevelDebugger() { return executionEnvironment->sourceLevelDebugger.get(); }
|
||||
ExecutionEnvironment *getExecutionEnvironment() const { return executionEnvironment; }
|
||||
const HardwareCapabilities &getHardwareCapabilities() const { return hardwareCapabilities; }
|
||||
OsContext *getOsContext() const { return engines[0].osContext; }
|
||||
uint32_t getDeviceIndex() { return deviceIndex; }
|
||||
bool isFullRangeSvm() {
|
||||
return getHardwareInfo().capabilityTable.gpuAddressSpace == MemoryConstants::max48BitAddress;
|
||||
@@ -164,7 +160,6 @@ class Device : public BaseObject<_cl_device_id> {
|
||||
std::string exposedBuiltinKernels = "";
|
||||
|
||||
PreemptionMode preemptionMode;
|
||||
EngineType engineType;
|
||||
ExecutionEnvironment *executionEnvironment = nullptr;
|
||||
uint32_t deviceIndex = 0u;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user