fix: Dont directly use gtId as TileId

gtId is not same as tileId. instead use gtIdToTileId
to retrieve tileId based on gtId.

Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This commit is contained in:
Jitendra Sharma
2025-01-17 13:10:57 +00:00
committed by Compute-Runtime-Automation
parent 1ce795c265
commit 8f5a0995e0
8 changed files with 100 additions and 16 deletions

View File

@@ -133,6 +133,9 @@ class IoctlHelperXe : public IoctlHelper {
bool resourceRegistrationEnabled() override { return true; }
bool isPreemptionSupported() override { return true; }
bool isTimestampsRefreshEnabled() override { return true; }
int getTileIdFromGtId(int gtId) const override {
return gtIdToTileId[gtId];
}
protected:
static constexpr uint32_t maxContextSetProperties = 4;