Skip to content
Snippets Groups Projects

Infrastructure patch 3

Merged Jammer, Tim requested to merge infrastructure-patch-3 into main
5 files
+ 35
32
Compare changes
  • Side-by-side
  • Inline

Files

#! /usr/bin/python3
from scripts.Infrastructure import MPICall
from scripts.Infrastructure.Instruction import Instruction
from scripts.Infrastructure.MPICallFactory import MPICallFactory
from scripts.Infrastructure.AllocCall import AllocCall, get_free
@@ -112,19 +111,3 @@ class CorrectParameterFactory:
# TODO implement other types
print("Not Implemented: " + variable_type)
assert False, "Param not known"
# todo also for send and non default args
def get_matching_recv(call: MPICall) -> MPICall:
correct_params = CorrectParameterFactory()
recv = MPICallFactory().mpi_recv(
correct_params.get("BUFFER"),
correct_params.get("COUNT"),
correct_params.get("DATATYPE"),
correct_params.get("SRC"),
correct_params.get("TAG"),
correct_params.get("COMM"),
correct_params.get("STATUS", "MPI_Recv"),
)
return recv
Loading