diff --git a/discopop_explorer/pattern_detectors/combined_gpu_patterns/classes/EntryPoint.py b/discopop_explorer/pattern_detectors/combined_gpu_patterns/classes/EntryPoint.py index 76724ca3d..9c231cc0b 100644 --- a/discopop_explorer/pattern_detectors/combined_gpu_patterns/classes/EntryPoint.py +++ b/discopop_explorer/pattern_detectors/combined_gpu_patterns/classes/EntryPoint.py @@ -133,7 +133,7 @@ def get_as_metadata(self, pet: PETGraphX, project_folder_path: str): # get size of memory region memory_region_sizes = get_sizes_of_memory_regions( - self.memory_regions, os.path.join(project_folder_path, "memory_regions.txt") + self.memory_regions, os.path.join(project_folder_path, "profiler/memory_regions.txt") ) if len(memory_region_sizes) > 0: max_mem_reg_size = max(memory_region_sizes.values()) diff --git a/discopop_explorer/pattern_detectors/combined_gpu_patterns/classes/ExitPoint.py b/discopop_explorer/pattern_detectors/combined_gpu_patterns/classes/ExitPoint.py index 423b520f9..adebf6565 100644 --- a/discopop_explorer/pattern_detectors/combined_gpu_patterns/classes/ExitPoint.py +++ b/discopop_explorer/pattern_detectors/combined_gpu_patterns/classes/ExitPoint.py @@ -131,7 +131,7 @@ def get_as_metadata(self, pet: PETGraphX, project_folder_path: str): # get size of memory region memory_region_sizes = get_sizes_of_memory_regions( - self.memory_regions, os.path.join(project_folder_path, "memory_regions.txt") + self.memory_regions, os.path.join(project_folder_path, "profiler/memory_regions.txt") ) if len(memory_region_sizes) > 0: max_mem_reg_size = max(memory_region_sizes.values()) diff --git a/discopop_explorer/pattern_detectors/combined_gpu_patterns/classes/Update.py b/discopop_explorer/pattern_detectors/combined_gpu_patterns/classes/Update.py index 404866454..f260a350b 100644 --- a/discopop_explorer/pattern_detectors/combined_gpu_patterns/classes/Update.py +++ b/discopop_explorer/pattern_detectors/combined_gpu_patterns/classes/Update.py @@ -180,7 +180,7 @@ def get_as_metadata_using_variable_names(self, pet: PETGraphX, project_folder_pa # get size of memory region memory_region_sizes = get_sizes_of_memory_regions( - self.memory_regions, os.path.join(project_folder_path, "memory_regions.txt") + self.memory_regions, os.path.join(project_folder_path, "profiler/memory_regions.txt") ) if len(memory_region_sizes) > 0: max_mem_reg_size = max(memory_region_sizes.values()) @@ -238,7 +238,7 @@ def get_as_metadata_using_variable_names_and_memory_regions(self, pet: PETGraphX # get size of memory region memory_region_sizes = get_sizes_of_memory_regions( - self.memory_regions, os.path.join(project_folder_path, "memory_regions.txt") + self.memory_regions, os.path.join(project_folder_path, "profiler/memory_regions.txt") ) if len(memory_region_sizes) > 0: max_mem_reg_size = max(memory_region_sizes.values()) diff --git a/discopop_explorer/pattern_detectors/simple_gpu_patterns/GPULoop.py b/discopop_explorer/pattern_detectors/simple_gpu_patterns/GPULoop.py index 65c98270e..4a14cfaaa 100644 --- a/discopop_explorer/pattern_detectors/simple_gpu_patterns/GPULoop.py +++ b/discopop_explorer/pattern_detectors/simple_gpu_patterns/GPULoop.py @@ -291,7 +291,7 @@ def __get_constructs( # get size of memory region memory_region_sizes = get_sizes_of_memory_regions( - memory_regions, os.path.join(project_folder_path, "memory_regions.txt") + memory_regions, os.path.join(project_folder_path, "profiler/memory_regions.txt") ) if len(memory_region_sizes) > 0: max_mem_reg_size = max(memory_region_sizes.values()) @@ -318,7 +318,7 @@ def __get_constructs( # get size of memory region memory_region_sizes = get_sizes_of_memory_regions( - memory_regions, os.path.join(project_folder_path, "memory_regions.txt") + memory_regions, os.path.join(project_folder_path, "profiler/memory_regions.txt") ) if len(memory_region_sizes) > 0: max_mem_reg_size = max(memory_region_sizes.values()) @@ -343,7 +343,7 @@ def __get_constructs( # get size of memory region memory_region_sizes = get_sizes_of_memory_regions( - memory_regions, os.path.join(project_folder_path, "memory_regions.txt") + memory_regions, os.path.join(project_folder_path, "profiler/memory_regions.txt") ) if len(memory_region_sizes) > 0: max_mem_reg_size = max(memory_region_sizes.values()) @@ -368,7 +368,7 @@ def __get_constructs( # get size of memory region memory_region_sizes = get_sizes_of_memory_regions( - memory_regions, os.path.join(project_folder_path, "memory_regions.txt") + memory_regions, os.path.join(project_folder_path, "profiler/memory_regions.txt") ) if len(memory_region_sizes) > 0: max_mem_reg_size = max(memory_region_sizes.values()) diff --git a/discopop_library/discopop_optimizer/Variables/Experiment.py b/discopop_library/discopop_optimizer/Variables/Experiment.py index 229f1e5e2..d2f95677c 100644 --- a/discopop_library/discopop_optimizer/Variables/Experiment.py +++ b/discopop_library/discopop_optimizer/Variables/Experiment.py @@ -85,7 +85,7 @@ def __init__( self.__memory_region_sizes = get_sizes_of_memory_regions( set(), - os.path.join(discopop_output_path, "memory_regions.txt"), + os.path.join(discopop_output_path, "profiler/memory_regions.txt"), return_all_memory_regions=True, )