8000 updated examples · taskflow/tfprof@03f6cc5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 03f6cc5

Browse files
updated examples
1 parent c0ad57d commit 03f6cc5

File tree

6 files changed

+19
-23
lines changed

6 files changed

+19
-23
lines changed

js/dreamplace.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/dreamplace.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

js/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ const tfp = {
6464
zColorMap: new Map([
6565
['static', '#4682b4'],
6666
['subflow', '#ff7f0e'],
67-
['cudaflow', '#6A0DAD'],
6867
['condition', '#32CD99'],
6968
['module', '#0000FF'],
7069
['async', '#292b2c'],
@@ -284,7 +283,6 @@ class Database {
284283
switch(this.data[w].segs[i].type) {
285284
case "static" : st += t; break;
286285
case "subflow" : dt += t; break;
287-
case "cudaflow" : gt += t; break;
288286
case "condition": ct += t; break;
289287
case "module" : mt += t; break;
290288
case "async" : at += t; break;
@@ -301,8 +299,6 @@ class Database {
301299
x += st;
302300
load.push({type: "subflow", span: [x, x+dt], ratio: (dt/T*100).toFixed(2)});
303301
x += dt;
304-
load.push({type: "cudaflow", span: [x, x+gt], ratio: (gt/T*100).toFixed(2)});
305-
x += gt;
306302
load.push({type: "condition", span: [x, x+ct], ratio: (ct/T*100).toFixed(2)});
307303
x += ct;
308304
load.push({type: "module", span: [x, x+mt], ratio: (mt/T*100).toFixed(2)});

js/inference.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/simple.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const simple = [
1919
{
2020
"span": [15,20],
2121
"name": "t3",
22-
"type": "cudaflow"
22+
"type": "static"
2323
},
2424
{
2525
"span": [22,27],
@@ -50,7 +50,7 @@ const simple = [
5050
{
5151
"span": [9,10],
5252
"name": "t8",
53-
"type": "cudaflow"
53+
"type": "static"
5454
},
5555
{
5656
"span": [15,16],
@@ -75,7 +75,7 @@ const simple = [
7575
{
7676
"span": [29,30],
7777
"name": "t13",
78-
"type": "cudaflow"
78+
"type": "static"
7979
},
8080
{
8181
"span": [33,34],
@@ -111,7 +111,7 @@ const simple = [
111111
{
112112
"span": [22,27],
113113
"name": "t19",
114-
"type": "cudaflow"
114+
"type": "static"
115115
},
116116
{
117117
"span": [29,30],
@@ -142,7 +142,7 @@ const simple = [
142142
{
143143
"span": [4,5],
144144
"name": "t24",
145-
"type": "cudaflow"
145+
"type": "static"
146146
},
147147
{
148148
"span": [9,10],
@@ -152,12 +152,12 @@ const simple = [
152152
{
153153
"span": [15,16],
154154
"name": "t26",
155-
"type": "cudaflow"
155+
"type": "static"
156156
},
157157
{
158158
"span": [22,23],
159159
"name": "t27",
160-
"type": "cudaflow"
160+
"type": "static"
161161
},
162162
{
163163
"span": [25,26],
@@ -177,7 +177,7 @@ const simple = [
177177
{
178178
"span": [36,37],
179179
"name": "t31",
180-
"type": "cudaflow"
180+
"type": "static"
181181
}
182182
]
183183
},

js/simple.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const simple = [
1818
{
1919
"span": [15,20],
2020
"name": "t3",
21-
"type": "cudaflow"
21+
"type": "static"
2222
},
2323
{
2424
"span": [22,27],
@@ -48,7 +48,7 @@ const simple = [
4848
{
4949
"span": [9,10],
5050
"name": "t8",
51-
"type": "cudaflow"
51+
"type": "static"
5252
},
5353
{
5454
"span": [15,16],
@@ -73,7 +73,7 @@ const simple = [
7373
{
7474
"span": [29,30],
7575
"name": "t13",
76-
"type": "cudaflow"
76+
"type": "static"
7777
},
7878
{
7979
"span": [33,34],
@@ -108,7 +108,7 @@ const simple = [
108108
{
109109
"span": [22,27],
110110
"name": "t19",
111-
"type": "cudaflow"
111+
"type": "static"
112112
},
113113
{
114114
"span": [29,30],
@@ -138,7 +138,7 @@ const simple = [
138138
{
139139
"span": [4,5],
140140
"name": "t24",
141-
"type": "cudaflow"
141+
"type": "static"
142142
},
143143
{
144144
"span": [9,10],
@@ -148,12 +148,12 @@ const simple = [
148148
{
149149
"span": [15,16],
150150
"name": "t26",
151-
"type": "cudaflow"
151+
"type": "static"
152152
},
153153
{
154154
"span": [22,23],
155155
"name": "t27",
156-
"type": "cudaflow"
156+
"type": "static"
157157
},
158158
{
159159
"span": [25,26],
@@ -173,7 +173,7 @@ const simple = [
173173
{
174174
"span": [36,37],
175175
"name": "t31",
176-
"type": "cudaflow"
176+
"type": "static"
177177
}
178178
]
179179
},

0 commit comments

Comments
 (0)
0