mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Generate Offline Dump Context ID
On linux OfflineDumpContextId consists of 32b processId in bits 63:32 32b drmContestId in bits 31:0 Also cache linux implementation of getProcessId since the value is constant. Related-To: NEO-7630 Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
53fe4de534
commit
fd971f7a61
@@ -27,6 +27,7 @@ class OsContext : public ReferenceTrackedObject<OsContext> {
|
||||
bool ensureContextInitialized();
|
||||
|
||||
uint32_t getContextId() const { return contextId; }
|
||||
virtual uint64_t getOfflineDumpContextId(uint32_t deviceIndex) const { return 0; };
|
||||
uint32_t getNumSupportedDevices() const { return numSupportedDevices; }
|
||||
DeviceBitfield getDeviceBitfield() const { return deviceBitfield; }
|
||||
PreemptionMode getPreemptionMode() const { return preemptionMode; }
|
||||
|
||||
Reference in New Issue
Block a user