refactor: Remove global CompilerProductHelper gettter 1/n

Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2023-01-20 16:09:58 +00:00
committed by Compute-Runtime-Automation
parent 7925e12392
commit 235385abc9
16 changed files with 61 additions and 40 deletions

View File

@@ -31,6 +31,7 @@ class SubDevice;
struct PhysicalDevicePciBusInfo;
class GfxCoreHelper;
class ProductHelper;
class CompilerProductHelper;
struct SelectorCopyEngine : NonCopyableOrMovableClass {
std::atomic<bool> isMainUsed = false;
@@ -153,6 +154,7 @@ class Device : public ReferenceTrackedObject<Device> {
void getAdapterMask(uint32_t &nodeMask);
const GfxCoreHelper &getGfxCoreHelper() const;
const ProductHelper &getProductHelper() const;
const CompilerProductHelper &getCompilerProductHelper() const;
uint32_t getNumberOfRegularContextsPerEngine() const { return numberOfRegularContextsPerEngine; }
std::atomic<uint32_t> debugExecutionCounter = 0;