mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 15:08:18 +08:00
committed by
Compute-Runtime-Automation
parent
9882b6437d
commit
1716542529
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -7,4 +7,4 @@
|
||||
*
|
||||
*/
|
||||
|
||||
dependenciesRevision='7604f09b86d45fac63eb75891e22830d054ddf1e-2983'
|
||||
dependenciesRevision='4062f13a50c9d780de959a0258e42290941282ba-2984'
|
||||
|
||||
@@ -3,7 +3,7 @@ components:
|
||||
branch: master
|
||||
dest_dir: aub_stream
|
||||
repository: https://github.com/intel/aubstream
|
||||
revision: da725f64d9894db03b4595c0b521e12fa3a5978b
|
||||
revision: 5b88a8fdb768744d8533f007b2013236e72a6490
|
||||
type: git
|
||||
gmmlib:
|
||||
asset_name: gmmlib
|
||||
@@ -42,7 +42,7 @@ components:
|
||||
dest_dir: kernels_bin
|
||||
type: git
|
||||
branch: kernels_bin
|
||||
revision: 2983-2158
|
||||
revision: 2984-2176
|
||||
kmdaf:
|
||||
branch: kmdaf
|
||||
dest_dir: kmdaf
|
||||
@@ -91,5 +91,5 @@ components:
|
||||
dest_dir: wsl
|
||||
revision: 56430997dac34ca0e9e18c177636234cac26ad54
|
||||
type: git
|
||||
converter: M-2983
|
||||
converter: M-2984
|
||||
version: '1'
|
||||
|
||||
2
third_party/aub_stream/.version
vendored
2
third_party/aub_stream/.version
vendored
@@ -1 +1 @@
|
||||
git_revision: da725f64d9894db03b4595c0b521e12fa3a5978b
|
||||
git_revision: 5b88a8fdb768744d8533f007b2013236e72a6490
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
namespace aub_stream {
|
||||
|
||||
struct HardwareContext;
|
||||
struct CreateHardwareContext2Params;
|
||||
|
||||
struct AubManagerOptions {
|
||||
uint32_t version{};
|
||||
@@ -71,6 +72,7 @@ class AubManager {
|
||||
virtual void blockMemWritesViaTbx(bool onoff) {}
|
||||
|
||||
virtual bool releaseHardwareContext(HardwareContext *context) { return false; };
|
||||
virtual HardwareContext *createHardwareContext2(const CreateHardwareContext2Params ¶ms, uint32_t device, uint32_t engine, uint32_t flags) { return nullptr; };
|
||||
};
|
||||
|
||||
} // namespace aub_stream
|
||||
|
||||
10
third_party/aub_stream/aubstream/aubstream.h
vendored
10
third_party/aub_stream/aubstream/aubstream.h
vendored
@@ -98,6 +98,16 @@ constexpr uint32_t highPriority = 1 << 14;
|
||||
constexpr uint32_t lowPriority = 1 << 13;
|
||||
} // namespace hardwareContextFlags
|
||||
|
||||
namespace hardwareContextId {
|
||||
constexpr uint32_t invalidContextId = -1;
|
||||
}
|
||||
|
||||
struct CreateHardwareContext2Params {
|
||||
uint32_t contextId;
|
||||
uint32_t primaryContextId = hardwareContextId::invalidContextId;
|
||||
};
|
||||
|
||||
static_assert(std::is_pod<SurfaceInfo>::value, "SurfaceInfo is not POD type");
|
||||
static_assert(std::is_standard_layout_v<CreateHardwareContext2Params>, "CreateHardwareContext2Params is not standard layout type");
|
||||
|
||||
} // namespace aub_stream
|
||||
|
||||
Reference in New Issue
Block a user