summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authorAaron Barnes <[email protected]>2021-05-11 20:25:49 -0400
committerAaron Barnes <[email protected]>2021-05-11 20:25:49 -0400
commit640674b74b12ef4b0188b267884eda9391f4bf34 (patch)
tree8f4f5e98231c51b19cae96be93cd2509b52e5932 /src/abstract_hardware_model.h
parent71455d84455f4a75bb2763ebe2fd58617a4ad843 (diff)
issue function needed to be constrained
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index 6d431fc..e9da429 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -1367,6 +1367,11 @@ class register_set {
warp_inst_t **ready = get_ready();
move_warp(dest, *ready);
}
+ void move_out_to(bool sub_core_model, unsigned reg_id, warp_inst_t *&dest) {
+ if (!sub_core_model) { return move_out_to(dest);}
+ warp_inst_t **ready = get_ready(sub_core_model, reg_id);
+ move_warp(dest, *ready);
+ }
warp_inst_t **get_ready() {
warp_inst_t **ready;