Skip to content
Snippets Groups Projects

RMA Test Cases

Open Simon Schwitanski requested to merge rma into main

Files

#! /usr/bin/python3
#! /usr/bin/python3
from scripts.Infrastructure import MPICall
from scripts.Infrastructure import MPICall
from scripts.Infrastructure.Instruction import Instruction
from scripts.Infrastructure.Instruction import Instruction
#from scripts.Infrastructure.MPICallFactory import MPICallFactory
from scripts.Infrastructure.AllocCall import AllocCall, get_free
from scripts.Infrastructure.AllocCall import AllocCall, get_free
@@ -118,19 +117,3 @@ class CorrectParameterFactory:
@@ -118,19 +117,3 @@ class CorrectParameterFactory:
# TODO implement other types
# TODO implement other types
print("Not Implemented: " + variable_type)
print("Not Implemented: " + variable_type)
assert False, "Param not known"
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