mirror of
				https://github.com/smyalygames/FiniteVolumeGPU.git
				synced 2025-10-31 20:17:41 +01:00 
			
		
		
		
	refactor(simulator): make autotuner filename conform with PEP8
This commit is contained in:
		
							parent
							
								
									ab6660d719
								
							
						
					
					
						commit
						0f62900f05
					
				
										
											
												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() | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Anthony Berg
						Anthony Berg