refactor(simulator): make autotuner filename conform with PEP8

This commit is contained in:
Anthony Berg 2025-07-03 11:39:52 +02:00
parent ab6660d719
commit 0f62900f05
4 changed files with 9 additions and 24 deletions

File diff suppressed because one or more lines are too long

View File

@ -28,7 +28,7 @@ import pycuda.compiler as cuda_compiler
import pycuda.gpuarray
import pycuda.driver as cuda
from GPUSimulators.Autotuner import Autotuner
from GPUSimulators.autotuner import Autotuner
from GPUSimulators.common import Timer
from GPUSimulators.gpu.context import Context

View File

@ -37,7 +37,7 @@ class HIPContext(Context):
self.logger.debug(f" => total available memory: {int(props.totalGlobalMem / pow(1024, 2))} MiB")
if autotuning:
from GPUSimulators.Autotuner import Autotuner
from GPUSimulators.autotuner import Autotuner
self.logger.info(
"Autotuning enabled. It may take several minutes to run the code the first time: have patience")
self.autotuner = Autotuner()