Skip to content

Commit e2e604d

Browse files
committed
Fix calls to tegra.__init__
1 parent 8f63a70 commit e2e604d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel_tuner/observers/tegra.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def __init__(
127127
save_all=False
128128
):
129129
"""Create a TegraObserver"""
130-
self.tegra = tegra(device)
130+
self.tegra = tegra()
131131
self.save_all = save_all
132132

133133
supported = ["core_freq"]
@@ -187,7 +187,7 @@ def get_results(self):
187187

188188
def get_tegra_gr_clocks(device=0, n=None, quiet=False):
189189
"""Get tunable parameter for Tegra graphics clock, n is desired number of values."""
190-
d = tegra(device)
190+
d = tegra()
191191
gr_clocks = d.supported_gr_clocks
192192

193193
if n and (len(gr_clocks) > n):

0 commit comments

Comments
 (0)