CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 10:39:02 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/PaddlePaddle/Paddle.git
etag: W/"6ab88309b9cd2493cc8d650e4b90ed56"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=CZUWZ3MnHJNGqJ1peiZIHNzNZ9awrOgd%2B7o40mvpAtk1VAr6ii7ofLcT%2Ffz0f6tAp7OHS7g42SmQJOOjrvsOhAtiHYTA7%2FOqd8lplTiVkis%2FHCmlY3GYU4JgIPebRPX50W3742FWTcH03MmGx39%2B0F8BI7JskgDfn%2FW6T2Q%2FdsC4CyCdVulDHNuEbM%2Bq%2Ft9sYoc206OkjvdPYArORvp4lGNMjGb5oN67YCVAxO7F6bmVa%2FcrLLE%2BDtOkdWNdkTt%2BUxWrbpgPqvq5KUhIlHQ%2B8Q%3D%3D--O9XzjyLiNC4lSUpj--Jija%2B%2BApqYtbdiqDms7dyg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1388400358.1753439942; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 10:39:02 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 10:39:02 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8ED6:2EEC20:755A77:8AFC3E:68835EC6
[PIR] convert pd_op.sum to cinn_op.reduce_sum (#58207) · PaddlePaddle/Paddle@3e677c4 · GitHub
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/CMakeLists.txt
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/framework/pir/op_mapper.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/framework/pir/utils.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/framework/pir_compiler.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/op_generator/op_build_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/op_generator/op_creator_drr_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/utils/utils.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/utils/utils.h
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 3e677c4
authored
[PIR] convert pd_op.sum to cinn_op.reduce_sum (#58207)
* update
* update
* update
* update
* fix bug
* add test flag
* fix bug
* update
* fix cmake bug
* remove cinn_op header
* fix full int array bug
* fix vjp gene bug
* fix bug
* fix bug
* polish code
* update
* update
* update
* fix bug
* fix bug1 parent ebf5993 commit 3e677c4Copy full SHA for 3e677c4
File tree
Expand file treeCollapse file tree
23 files changed
+397
-43
lines changedFilter options
- paddle
- cinn/hlir
- dialect/operator/transforms
- framework
- pir
- fluid
- pir
- dialect
- op_generator
- operator/utils
- drr
- primitive/codegen/templates/rule/vjp/generated
- phi
- api/yaml
- infermeta
- kernels
- cpu
- test/cpp/pir
- cinn
- pattern_rewrite
Expand file treeCollapse file tree
23 files changed
+397
-43
lines changedpaddle/cinn/hlir/dialect/operator/transforms/CMakeLists.txt
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/dialect/operator/transforms/CMakeLists.txt+9Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
13 | 22 |
|
paddle/cinn/hlir/dialect/operator/transforms/pd_to_cinn_pass.cc
Copy file name to clipboard+113Lines changed: 113 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + |
paddle/cinn/hlir/dialect/operator/transforms/pd_to_cinn_pass.h
Copy file name to clipboard+43Lines changed: 43 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + |
paddle/cinn/hlir/framework/pir/op_mapper.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/framework/pir/op_mapper.cc+2-6Lines changed: 2 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
| 31 | + | |
| 32 | + | |
37 | 33 |
| |
38 | 34 |
| |
39 | 35 |
| |
|
paddle/cinn/hlir/framework/pir/utils.h
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/framework/pir/utils.h+1-2Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
19 | 18 |
| |
20 | 19 |
| |
21 | 20 |
| |
| |||
30 | 29 |
| |
31 | 30 |
| |
32 | 31 |
| |
33 |
| - | |
| 32 | + | |
34 | 33 |
| |
35 | 34 |
| |
36 | 35 |
| |
|
paddle/cinn/hlir/framework/pir_compiler.cc
Copy file name to clipboardExpand all lines: paddle/cinn/hlir/framework/pir_compiler.cc+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 |
| - | |
| 68 | + | |
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
|
paddle/fluid/pir/dialect/op_generator/op_build_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/op_generator/op_build_gen.py+6-10Lines changed: 6 additions & 10 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
358 | 358 |
| |
359 | 359 |
| |
360 | 360 |
| |
361 |
| - | |
| 361 | + | |
| 362 | + | |
362 | 363 |
| |
363 |
| - | |
364 |
| - | |
365 |
| - | |
366 |
| - | |
| 364 | + | |
367 | 365 |
| |
368 | 366 |
| |
369 | 367 |
| |
| |||
378 | 376 |
| |
379 | 377 |
| |
380 | 378 |
| |
381 |
| - | |
| 379 | + | |
| 380 | + | |
382 | 381 |
| |
383 |
| - | |
384 |
| - | |
385 |
| - | |
386 |
| - | |
| 382 | + | |
387 | 383 |
| |
388 | 384 |
| |
389 | 385 |
| |
|
paddle/fluid/pir/dialect/op_generator/op_creator_drr_gen.py
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/op_generator/op_creator_drr_gen.py+17-4Lines changed: 17 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 |
| - | |
| 23 | + | |
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 |
| - | |
| 29 | + | |
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 |
| - | |
| 44 | + | |
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
66 | 72 |
| |
67 | 73 |
| |
68 | 74 |
| |
| |||
107 | 113 |
| |
108 | 114 |
| |
109 | 115 |
| |
| 116 | + | |
110 | 117 |
| |
111 | 118 |
| |
112 | 119 |
| |
| |||
139 | 146 |
| |
140 | 147 |
| |
141 | 148 |
| |
142 |
| - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
143 | 156 |
| |
144 | 157 |
| |
145 | 158 |
| |
|
paddle/fluid/pir/dialect/operator/utils/utils.cc
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/utils/utils.cc+19Lines changed: 19 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
203 | 203 |
| |
204 | 204 |
| |
205 | 205 |
| |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
206 | 225 |
| |
207 | 226 |
|
paddle/fluid/pir/dialect/operator/utils/utils.h
Copy file name to clipboardExpand all lines: paddle/fluid/pir/dialect/operator/utils/utils.h+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
133 | 133 |
| |
134 | 134 |
| |
135 | 135 |
| |
| 136 | + | |
| 137 | + | |
136 | 138 |
| |
137 | 139 |
|
You can’t perform that action at this time.
0 commit comments