Skip to content

Commit

Permalink
fix user-defined workload for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinGeens committed Aug 30, 2024
1 parent 03659dc commit d4e0444
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 114 deletions.
26 changes: 0 additions & 26 deletions stream/inputs/testing/shared/dual_testing_core_offchip.py

This file was deleted.

76 changes: 0 additions & 76 deletions stream/inputs/testing/shared/testing_workload_for_2_cores.py

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
- id: 0
operator_type: layer_on_core0
name: layer_on_core0
operator_type: Conv
equation: O[b][k][oy][ox]+=W[k][c][fy][fx]*I[b][c][iy][ix]
dimension_relations: [ix=1*ox+1*fx, iy=1*oy+1*fy]
loop_dims : [B, K, C, OY, OX, FX, FY]
Expand All @@ -18,7 +19,8 @@
- [1, 1]

- id: 1
operator_type: layer_on_core1
name: layer_on_core1
operator_type: Conv
equation: O[b][k][oy][ox]+=W[k][c][fy][fx]*I[b][c][iy][ix]
dimension_relations: [ix=1*ox+1*fx, iy=1*oy+1*fy]
loop_dims : [B, K, C, OY, OX, FX, FY]
Expand Down
12 changes: 8 additions & 4 deletions stream/inputs/testing/workload/testing_workload_for_1_core.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
- id: 0
operator_type: layer_on_core0
name: layer_on_core0
operator_type: Conv
equation: O[b][k][oy][ox]+=W[k][c][fy][fx]*I[b][c][iy][ix]
dimension_relations: [ix=1*ox+1*fx, iy=1*oy+1*fy]
loop_dims : [B, K, C, OY, OX, FY, FX]
Expand All @@ -18,7 +19,8 @@
- [1, 1]

- id: 1
operator_type: layer_on_core0
name: layer_on_core0
operator_type: Conv
equation: O[b][k][oy][ox]+=W[k][c][fy][fx]*I[b][c][iy][ix]
dimension_relations: [ix=1*ox+1*fx, iy=1*oy+1*fy]
loop_dims : [B, K, C, OY, OX, FY, FX]
Expand All @@ -37,7 +39,8 @@
- [1, 1]

- id: 2
operator_type: layer_on_core0
name: layer_on_core0
operator_type: Conv
equation: O[b][k][oy][ox]+=W[k][c][fy][fx]*I[b][c][iy][ix]
dimension_relations: [ix=1*ox+1*fx, iy=1*oy+1*fy]
loop_dims : [B, K, C, OY, OX, FY, FX]
Expand All @@ -56,7 +59,8 @@
- [1, 1]

- id: 3
operator_type: layer_on_core0
name: layer_on_core0
operator_type: Conv
equation: O[b][k][oy][ox]+=W[k][c][fy][fx]*I[b][c][iy][ix]
dimension_relations: [ix=1*ox+1*fx, iy=1*oy+1*fy]
loop_dims : [B, K, C, OY, OX, FY, FX]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
- id: 0
operator_type: layer_on_core0
name: layer_on_core0
operator_type: Conv
equation: O[b][k][oy][ox]+=W[k][c][fy][fx]*I[b][c][iy][ix]
dimension_relations: [ix=1*ox+1*fx, iy=1*oy+1*fy]
loop_dims : [B, K, C, OY, OX, FY, FX]
Expand All @@ -18,7 +19,8 @@
- [1, 1]

- id: 1
operator_type: layer_on_core1
name: layer_on_core1
operator_type: Conv
equation: O[b][k][oy][ox]+=W[k][c][fy][fx]*I[b][c][iy][ix]
dimension_relations: [ix=1*ox+1*fx, iy=1*oy+1*fy]
loop_dims : [B, K, C, OY, OX, FY, FX]
Expand Down
12 changes: 8 additions & 4 deletions stream/inputs/testing/workload/testing_workload_for_4_cores.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
- id: 0
operator_type: layer_on_core0
name: layer_on_core0
operator_type: Conv
equation: O[b][k][oy][ox]+=W[k][c][fy][fx]*I[b][c][iy][ix]
dimension_relations: [ix=1*ox+1*fx, iy=1*oy+1*fy]
loop_dims : [B, K, C, OY, OX, FY, FX]
Expand All @@ -18,7 +19,8 @@
- [1, 1]

- id: 1
operator_type: layer_on_core1
name: layer_on_core1
operator_type: Conv
equation: O[b][k][oy][ox]+=W[k][c][fy][fx]*I[b][c][iy][ix]
dimension_relations: [ix=1*ox+1*fx, iy=1*oy+1*fy]
loop_dims : [B, K, C, OY, OX, FY, FX]
Expand All @@ -37,7 +39,8 @@
- [1, 1]

- id: 2
operator_type: layer_on_core2
name: layer_on_core2
operator_type: Conv
equation: O[b][k][oy][ox]+=W[k][c][fy][fx]*I[b][c][iy][ix]
dimension_relations: [ix=1*ox+1*fx, iy=1*oy+1*fy]
loop_dims : [B, K, C, OY, OX, FY, FX]
Expand All @@ -56,7 +59,8 @@
- [0, 0]

- id: 3
operator_type: layer_on_core3
name: layer_on_core3
operator_type: Conv
equation: O[b][k][oy][ox]+=W[k][c][fy][fx]*I[b][c][iy][ix]
dimension_relations: [ix=1*ox+1*fx, iy=1*oy+1*fy]
loop_dims : [B, K, C, OY, OX, FY, FX]
Expand Down

0 comments on commit d4e0444

Please sign in to comment.