mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 22:12:59 +08:00
Command streamers should use device default engine type
Change-Id: I7286f15ba78001729ea489a43576d96f109d44f0
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user