mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Cleanup Level zero Tools Sysman code
- removing the ULT specific constructors Change-Id: Ieaee9ab72c144d5f5794f6bc023c2f14df2a7b0b Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
ab9baf8026
commit
f3217b5d1a
@@ -20,10 +20,11 @@ class FrequencyImp : public Frequency {
|
||||
ze_result_t frequencySetRange(const zet_freq_range_t *pLimits) override;
|
||||
ze_result_t frequencyGetState(zet_freq_state_t *pState) override;
|
||||
|
||||
FrequencyImp() = default;
|
||||
FrequencyImp(OsSysman *pOsSysman);
|
||||
~FrequencyImp() override;
|
||||
|
||||
FrequencyImp(OsFrequency *pOsFrequency) : pOsFrequency(pOsFrequency) { init(); };
|
||||
OsFrequency *pOsFrequency = nullptr;
|
||||
void init();
|
||||
|
||||
// Don't allow copies of the FrequencyImp object
|
||||
FrequencyImp(const FrequencyImp &obj) = delete;
|
||||
@@ -33,11 +34,9 @@ class FrequencyImp : public Frequency {
|
||||
static const double step;
|
||||
static const bool canControl;
|
||||
|
||||
OsFrequency *pOsFrequency;
|
||||
zet_freq_properties_t frequencyProperties;
|
||||
double *pClocks;
|
||||
uint32_t numClocks;
|
||||
void init();
|
||||
zet_freq_properties_t frequencyProperties = {};
|
||||
double *pClocks = nullptr;
|
||||
uint32_t numClocks = 0;
|
||||
};
|
||||
|
||||
} // namespace L0
|
||||
|
||||
Reference in New Issue
Block a user