Command streamers should use device default engine type

Change-Id: I7286f15ba78001729ea489a43576d96f109d44f0
This commit is contained in:
Zdanowicz, Zbigniew
2017-11-14 11:15:09 +01:00
parent 42ed21f7fa
commit 602474f868
52 changed files with 300 additions and 194 deletions

View File

@@ -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"),
@@ -32,6 +32,6 @@ struct CompletionStamp {
uint32_t taskLevel;
FlushStamp flushStamp;
uint32_t deviceOrdinal;
uint32_t engineOrdinal;
EngineType engineType;
};
} // namespace OCLRT

View File

@@ -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"),
@@ -24,7 +24,7 @@
namespace OCLRT {
enum EngineType {
enum EngineType : uint32_t {
ENGINE_RCS = 0,
ENGINE_BCS,
ENGINE_VCS,

View File

@@ -25,6 +25,8 @@
#include "gtsysinfo.h"
#include "sku_info.h"
#include "runtime/helpers/engine_node.h"
namespace OCLRT {
enum class PreemptionMode : uint32_t {
@@ -64,7 +66,7 @@ struct RuntimeCapabilityTable {
int64_t delayKmdNotifyMs;
bool ftr64KBpages;
int32_t nodeOrdinal;
EngineType defaultEngineType;
};
struct HardwareInfo {