Detecting execution hazards in offloaded operations
AssigneeAdvanced Micro Devices, Inc.
InventorsJohnathan Alsop, Shaizeen Aga
Life of this patent
Estimating the term…
Abstract
Detecting execution hazards in offloaded operations is disclosed. A second offload operation is compared to a first offload operation that precedes the second offload operation. It is determined whether the second offload operation creates an execution hazard on an offload target device based on the comparison of the second offload operation to the first offload operation. If the execution hazard is detected, an error handling operation may be performed. In some examples, the offload operations are processing-in-memory operations.
Claims20
A method of detecting mapping errors associated with processing-in-memory instructions, the method comprising:
- comparing a first identifier associated with a first processing-in-memory (PIM) instruction to a second identifier associated with a second PIM instruction;
- detecting a PIM device mapping error based on the comparison of the first identifier to the second identifier;
- and
- initiating an error handling action in response to detecting the PIM device mapping error.
An apparatus for detecting mapping errors associated with processing-in-memory instructions, the apparatus comprising:
- memory;
- and
- a divergence detection device configured to:
- compare a first identifier associated with a first processing-in-memory (PIM) instruction to a second identifier associated with a second PIM instruction;
- detect a PIM device mapping error based on the comparison of the first identifier to the second identifier;
- and
- initiate an error handling action in response to detecting the PIM device mapping error.
A system for detecting mapping errors associated with processing-in-memory instructions, the system comprising:
- two or more processor cores;
- two or more processing-in-memory (PIM) devices;
- and
- a divergence detection device configured to:
- compare a first identifier associated with a first processing-in-memory (PIM) instruction to a second identifier associated with a second PIM instruction;
- detect a PIM device mapping error based on the comparison of the first identifier to the second identifier;
- and
- initiate an error handling action in response to detecting the PIM device mapping error.
Dependencies are inferred from the claim text.