Skip to content
Snippets Groups Projects
Commit e19da0fc authored by Jammer, Tim's avatar Jammer, Tim
Browse files

Simplified Local Concurrency RMA testcase

parent 15c33d89
No related branches found
No related tags found
1 merge request!9Infrastructure: Type Hints, Instruction class and lists of instructions
......@@ -18,6 +18,7 @@ from scripts.Infrastructure.Variables import ERROR_MARKER_COMMENT
from typing import Tuple, List
class LocalConcurrencyErrorRMA(ErrorGenerator):
local_origin_addr_write = ["mpi_get", "mpi_rget"]
local_origin_addr_read = [
......@@ -88,15 +89,8 @@ class LocalConcurrencyErrorRMA(ErrorGenerator):
tm.register_instruction_block(alloc)
if hasconflict:
if isinstance(op1.get_operation(kind=0, index=-1), MPI_Call):
op1.get_operation(kind=0, index=-1).set_has_error()
else:
op1.replace_operation(op1.get_operation(kind=0, index=-1) + ERROR_MARKER_COMMENT, 0, 0)
if isinstance(op2.get_operation(kind=0, index=-1), MPI_Call):
op2.get_operation(kind=0, index=-1).set_has_error()
else:
op2.replace_operation(op2.get_operation(kind=0, index=-1) + ERROR_MARKER_COMMENT, 0, 0)
# fuse instructions blocks
# combined_ops = InstructionBlock("COMBINED")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment