mirror of
https://github.com/smyalygames/FiniteVolumeGPU.git
synced 2026-01-13 23:28:41 +01:00
refactor(simulator): make autotuner filename conform with PEP8
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -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
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user