L0 to read Device LUID from the WDDM driver given Debug Variable

- Added Support for reading the Device LUID of the given device used in
Windows WDDM given EnableL0ReadLUIDExtension=1.
- Added inital support for passing back the NodeMask of 1.

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
This commit is contained in:
Spruit, Neil R
2022-07-15 01:28:43 +00:00
committed by Compute-Runtime-Automation
parent a8c9458936
commit 33a587c704
17 changed files with 482 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ class OsContextWin : public OsContext {
MOCKABLE_VIRTUAL WddmResidencyController &getResidencyController() { return residencyController; }
static OsContext *create(OSInterface *osInterface, uint32_t contextId, const EngineDescriptor &engineDescriptor);
void reInitializeContext() override;
void getDeviceLuidArray(std::vector<uint8_t> &luidData, size_t arraySize);
protected:
void initializeContext() override;