Skip to content

Commit 0f59337

Browse files
committed
minor change
1 parent bd364c5 commit 0f59337

File tree

1 file changed

+1
-1
lines changed
  • offload/plugins-nextgen/level_zero/include

1 file changed

+1
-1
lines changed

offload/plugins-nextgen/level_zero/include/L0Device.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ class L0DeviceTy final : public GenericDeviceTy {
614614
}
615615

616616
Expected<InfoTreeNode> obtainInfoImpl() override;
617-
uint64_t getClockFrequency() const override { return DeviceProperties.coreClockRate; }
617+
uint64_t getClockFrequency() const override { return getClockRate(); }
618618
uint64_t getHardwareParallelism() const override { return getTotalThreads(); }
619619
Error getDeviceMemorySize(uint64_t &DSize) {
620620
DSize = getGlobalMemorySize();

0 commit comments

Comments
 (0)