CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 21:15: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/"c44810b3504c8dba2079d81f4b074b05"
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=v5jueOKquBIyZmXJtW53EMHXfqDij5yma0NqOG%2F7tu693tV%2B%2F4ffpzdHX6L0fiVwZYIWE1SXEPvlBfVPOrpS%2BigqIR%2Bw4CViiHLdt0dQCd3Skd76AcBi68lYa%2BilU%2FzsmIcArGQc1KGIX7B7n6kSmiZTQ9Inqr8xHCfnlafaoR15ZqCCoSD8Fb1j%2BIL0%2FS0EGNaD8Plg0mbjz7alzq7Z0WjWmXrDZJkWHpOzINQqVYsrmIPSIoM5CsD8blIP5u9MiZknaaJ8erKrlvSYmSmDUw%3D%3D--O0pX5X%2FpYacd%2FVFP--0YaMUoXQja5kyE%2FhC9t%2F5A%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.270075401.1753478101; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 21:15:01 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 21:15:01 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 941E:370876:D4C69:1243CB:6883F3D5
[CustomDevice] Fix device id out of range in custom device resource p… · PaddlePaddle/Paddle@e99b3cb · GitHub
Copy file name to clipboardExpand all lines: paddle/fluid/memory/allocation/stream_safe_custom_device_allocator.cc
Copy file name to clipboardExpand all lines: paddle/fluid/memory/allocation/stream_safe_custom_device_allocator.h
Copy file name to clipboardExpand all lines: paddle/fluid/platform/device/custom/custom_device_resource_pool.cc
Copy file name to clipboardExpand all lines: paddle/phi/backends/custom/custom_device.cc
Copy file name to clipboardExpand all lines: paddle/phi/backends/device_manager.cc
Copy file name to clipboardExpand all lines: paddle/phi/backends/device_manager.h
Copy file name to clipboardExpand all lines: paddle/phi/backends/event.cc
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit e99b3cb
File tree
Expand file treeCollapse file tree
9 files changed
+84
-59
lines changedFilter options
- paddle
- fluid
- memory/allocation
- platform/device/custom
- phi/backends
- custom
- test/custom_runtime
Expand file treeCollapse file tree
9 files changed
+84
-59
lines changedpaddle/fluid/memory/allocation/stream_safe_custom_device_allocator.cc
Copy file name to clipboardExpand all lines: paddle/fluid/memory/allocation/stream_safe_custom_device_allocator.cc+18-14Lines changed: 18 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
45 | 45 |
| |
46 | 46 |
| |
47 | 47 |
| |
48 |
| - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
49 | 51 |
| |
50 |
| - | |
| 52 | + | |
51 | 53 |
| |
52 |
| - | |
53 |
| - | |
54 |
| - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
55 | 57 |
| |
56 | 58 |
| |
57 | 59 |
| |
| |||
65 | 67 |
| |
66 | 68 |
| |
67 | 69 |
| |
68 |
| - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
69 | 73 |
| |
70 |
| - | |
| 74 | + | |
71 | 75 |
| |
72 | 76 |
| |
73 |
| - | |
| 77 | + | |
74 | 78 |
| |
75 |
| - | |
| 79 | + | |
76 | 80 |
| |
77 | 81 |
| |
78 | 82 |
| |
| |||
87 | 91 |
| |
88 | 92 |
| |
89 | 93 |
| |
90 |
| - | |
91 |
| - | |
| 94 | + | |
| 95 | + | |
92 | 96 |
| |
93 | 97 |
| |
94 | 98 |
| |
95 |
| - | |
96 |
| - | |
97 |
| - | |
| 99 | + | |
| 100 | + | |
98 | 101 |
| |
| 102 | + | |
99 | 103 |
| |
100 | 104 |
| |
101 | 105 |
| |
|
paddle/fluid/memory/allocation/stream_safe_custom_device_allocator.h
Copy file name to clipboardExpand all lines: paddle/fluid/memory/allocation/stream_safe_custom_device_allocator.h+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 |
| - | |
| 47 | + | |
| 48 | + | |
48 | 49 |
| |
49 | 50 |
| |
50 | 51 |
| |
|
paddle/fluid/platform/device/custom/custom_device_resource_pool.cc
Copy file name to clipboardExpand all lines: paddle/fluid/platform/device/custom/custom_device_resource_pool.cc+14-15Lines changed: 14 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 | 1 |
| |
3 | 2 |
| |
4 | 3 |
| |
| |||
27 | 26 |
| |
28 | 27 |
| |
29 | 28 |
| |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
34 | 32 |
| |
35 | 33 |
| |
36 | 34 |
| |
| |||
83 | 81 |
| |
84 | 82 |
| |
85 | 83 |
| |
86 |
| - | |
87 |
| - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
88 | 87 |
| |
89 | 88 |
| |
90 |
| - | |
| 89 | + | |
91 | 90 |
| |
92 | 91 |
| |
93 | 92 |
| |
| |||
125 | 124 |
| |
126 | 125 |
| |
127 | 126 |
| |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
132 | 130 |
| |
133 | 131 |
| |
134 | 132 |
| |
| |||
181 | 179 |
| |
182 | 180 |
| |
183 | 181 |
| |
184 |
| - | |
185 |
| - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
186 | 185 |
| |
187 | 186 |
| |
188 |
| - | |
| 187 | + | |
189 | 188 |
| |
190 | 189 |
| |
191 | 190 |
| |
|
paddle/phi/backends/custom/custom_device.cc
Copy file name to clipboardExpand all lines: paddle/phi/backends/custom/custom_device.cc-6Lines changed: 0 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
90 | 90 |
| |
91 | 91 |
| |
92 | 92 |
| |
93 |
| - | |
94 | 93 |
| |
95 | 94 |
| |
96 | 95 |
| |
97 | 96 |
| |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 |
| - | |
103 | 97 |
| |
104 | 98 |
| |
105 | 99 |
| |
|
paddle/phi/backends/device_manager.cc
Copy file name to clipboardExpand all lines: paddle/phi/backends/device_manager.cc+29-14Lines changed: 29 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
32 | 38 |
| |
33 | 39 |
| |
34 | 40 |
| |
| 41 | + | |
35 | 42 |
| |
36 | 43 |
| |
37 | 44 |
| |
38 | 45 |
| |
| 46 | + | |
39 | 47 |
| |
40 | 48 |
| |
41 | 49 |
| |
42 | 50 |
| |
| 51 | + | |
43 | 52 |
| |
44 | 53 |
| |
45 | 54 |
| |
46 | 55 |
| |
| 56 | + | |
47 | 57 |
| |
48 | 58 |
| |
49 | 59 |
| |
50 | 60 |
| |
51 | 61 |
| |
| 62 | + | |
52 | 63 |
| |
53 | 64 |
| |
54 | 65 |
| |
55 | 66 |
| |
| 67 | + | |
56 | 68 |
| |
57 | 69 |
| |
58 | 70 |
| |
59 | 71 |
| |
| 72 | + | |
60 | 73 |
| |
61 | 74 |
| |
62 | 75 |
| |
63 | 76 |
| |
64 | 77 |
| |
| 78 | + | |
65 | 79 |
| |
66 | 80 |
| |
67 | 81 |
| |
68 | 82 |
| |
| 83 | + | |
69 | 84 |
| |
70 | 85 |
| |
71 | 86 |
| |
72 | 87 |
| |
| 88 | + | |
73 | 89 |
| |
74 | 90 |
| |
75 | 91 |
| |
76 | 92 |
| |
77 | 93 |
| |
| 94 | + | |
78 | 95 |
| |
79 | 96 |
| |
80 | 97 |
| |
81 | 98 |
| |
82 | 99 |
| |
83 | 100 |
| |
84 | 101 |
| |
| 102 | + | |
85 | 103 |
| |
86 | 104 |
| |
87 | 105 |
| |
88 | 106 |
| |
89 | 107 |
| |
90 | 108 |
| |
91 | 109 |
| |
| 110 | + | |
92 | 111 |
| |
93 | 112 |
| |
94 | 113 |
| |
95 | 114 |
| |
96 | 115 |
| |
97 | 116 |
| |
98 | 117 |
| |
| 118 | + | |
99 | 119 |
| |
100 | 120 |
| |
101 | 121 |
| |
| |||
104 | 124 |
| |
105 | 125 |
| |
106 | 126 |
| |
| 127 | + | |
107 | 128 |
| |
108 | 129 |
| |
109 | 130 |
| |
110 | 131 |
| |
| 132 | + | |
111 | 133 |
| |
112 | 134 |
| |
113 | 135 |
| |
114 | 136 |
| |
| 137 | + | |
115 | 138 |
| |
116 | 139 |
| |
117 | 140 |
| |
118 | 141 |
| |
| 142 | + | |
119 | 143 |
| |
120 | 144 |
| |
121 | 145 |
| |
122 | 146 |
| |
| 147 | + | |
123 | 148 |
| |
124 | 149 |
| |
125 | 150 |
| |
126 | 151 |
| |
| 152 | + | |
127 | 153 |
| |
128 | 154 |
| |
129 | 155 |
| |
130 | 156 |
| |
| 157 | + | |
131 | 158 |
| |
132 | 159 |
| |
133 | 160 |
| |
134 | 161 |
| |
| 162 | + | |
135 | 163 |
| |
136 | 164 |
| |
137 | 165 |
| |
| |||
142 | 170 |
| |
143 | 171 |
| |
144 | 172 |
| |
| 173 | + | |
145 | 174 |
| |
146 | 175 |
| |
147 | 176 |
| |
| |||
370 | 399 |
| |
371 | 400 |
| |
372 | 401 |
| |
373 |
| - | |
374 |
| - | |
375 |
| - | |
376 |
| - | |
377 |
| - | |
378 |
| - | |
379 |
| - | |
380 |
| - | |
381 |
| - | |
382 |
| - | |
383 |
| - | |
384 |
| - | |
385 |
| - | |
386 |
| - | |
387 | 402 |
| |
388 | 403 |
| |
389 | 404 |
| |
|
paddle/phi/backends/device_manager.h
Copy file name to clipboardExpand all lines: paddle/phi/backends/device_manager.h+5-4Lines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 |
| |
36 | 40 |
| |
37 | 41 |
| |
| |||
123 | 127 |
| |
124 | 128 |
| |
125 | 129 |
| |
| 130 | + | |
126 | 131 |
| |
127 | 132 |
| |
128 | 133 |
| |
| |||
144 | 149 |
| |
145 | 150 |
| |
146 | 151 |
| |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 | 152 |
| |
152 | 153 |
| |
153 | 154 |
| |
|
paddle/phi/backends/event.cc
Copy file name to clipboardExpand all lines: paddle/phi/backends/event.cc+8-2Lines changed: 8 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
| |||
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
| 29 | + | |
28 | 30 |
| |
29 | 31 |
| |
| 32 | + | |
30 | 33 |
| |
31 | 34 |
| |
32 | 35 |
| |
| |||
43 | 46 |
| |
44 | 47 |
| |
45 | 48 |
| |
46 |
| - | |
47 | 49 |
| |
| 50 | + | |
| 51 | + | |
48 | 52 |
| |
49 | 53 |
| |
50 | 54 |
| |
| |||
58 | 62 |
| |
59 | 63 |
| |
60 | 64 |
| |
| 65 | + | |
61 | 66 |
| |
62 | 67 |
| |
63 | 68 |
| |
64 | 69 |
| |
65 | 70 |
| |
66 | 71 |
| |
67 |
| - | |
| 72 | + | |
| 73 | + | |
68 | 74 |
| |
69 | 75 |
| |
70 | 76 |
| |
|
You can’t perform that action at this time.
0 commit comments