CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 07:24:58 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/"ff226aa5641e6790b3760694f610cbb8"
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=%2BYgkrOF38XsSbP8Vagx7soVy5ZdqreKFcz0uiY1RIhZ8%2Fo636yWIPW1alNUJgdeGC7Gf8onoKtnxCpXZKx9uglOEahs7zbGx96J654d13njI2vlT6RZwB8h7j1y0UbYl0kisXTGL51Cd2XlnK06jGaovRNvgiPnoLriDsbtL7fCgDkq035jTnHynGDI%2B7dtmbCzYqDWgmeZmSGGjA1lP6DFIPM4vTviVQnhnK78c5qkHVuTUMl0cSy3cz9DjO3x1I1rhji%2Bh%2F%2Be%2B9TII%2Bn3fpQ%3D%3D--%2FR6m%2FZZGbySoadwp--diJSX3Au771FM434AbnrbQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.37810987.1753428298; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 07:24:58 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 07:24:58 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8F96:0A53:F2623:10DEC4:6883314A
[Typing][B-31,B-32] Add type annotations for `python/paddle/device/{c… · PaddlePaddle/Paddle@164bbd1 · GitHub
Copy file name to clipboardExpand all lines: python/paddle/device/cuda/__init__.py
Copy file name to clipboardExpand all lines: python/paddle/device/xpu/__init__.py
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit 164bbd1
File tree
Expand file treeCollapse file tree
2 files changed
+56
-26
lines changedFilter options
- python/paddle/device
- cuda
- xpu
Expand file treeCollapse file tree
2 files changed
+56
-26
lines changedpython/paddle/device/cuda/__init__.py
Copy file name to clipboardExpand all lines: python/paddle/device/cuda/__init__.py+41-23Lines changed: 41 additions & 23 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
14 | 19 |
| |
15 | 20 |
| |
16 | 21 |
| |
| |||
19 | 24 |
| |
20 | 25 |
| |
21 | 26 |
| |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
22 | 36 |
| |
23 | 37 |
| |
24 | 38 |
| |
| |||
43 | 57 |
| |
44 | 58 |
| |
45 | 59 |
| |
46 |
| - | |
| 60 | + | |
47 | 61 |
| |
48 | 62 |
| |
49 | 63 |
| |
50 | 64 |
| |
51 |
| - | |
| 65 | + | |
52 | 66 |
| |
53 | 67 |
| |
54 | 68 |
| |
| |||
88 | 102 |
| |
89 | 103 |
| |
90 | 104 |
| |
91 |
| - | |
| 105 | + | |
92 | 106 |
| |
93 | 107 |
| |
94 | 108 |
| |
95 | 109 |
| |
96 |
| - | |
| 110 | + | |
97 | 111 |
| |
98 | 112 |
| |
99 | 113 |
| |
| |||
125 | 139 |
| |
126 | 140 |
| |
127 | 141 |
| |
128 |
| - | |
| 142 | + | |
129 | 143 |
| |
130 | 144 |
| |
131 | 145 |
| |
| |||
150 | 164 |
| |
151 | 165 |
| |
152 | 166 |
| |
153 |
| - | |
| 167 | + | |
154 | 168 |
| |
155 | 169 |
| |
156 | 170 |
| |
| |||
173 | 187 |
| |
174 | 188 |
| |
175 | 189 |
| |
176 |
| - | |
| 190 | + | |
177 | 191 |
| |
178 | 192 |
| |
179 | 193 |
| |
| |||
216 | 230 |
| |
217 | 231 |
| |
218 | 232 |
| |
219 |
| - | |
| 233 | + | |
220 | 234 |
| |
221 | 235 |
| |
222 | 236 |
| |
| |||
225 | 239 |
| |
226 | 240 |
| |
227 | 241 |
| |
228 |
| - | |
| 242 | + | |
229 | 243 |
| |
230 | 244 |
| |
231 | 245 |
| |
| |||
252 | 266 |
| |
253 | 267 |
| |
254 | 268 |
| |
255 |
| - | |
| 269 | + | |
256 | 270 |
| |
257 | 271 |
| |
258 | 272 |
| |
259 | 273 |
| |
260 |
| - | |
| 274 | + | |
261 | 275 |
| |
262 | 276 |
| |
263 | 277 |
| |
| |||
284 | 298 |
| |
285 | 299 |
| |
286 | 300 |
| |
287 |
| - | |
| 301 | + | |
288 | 302 |
| |
289 | 303 |
| |
290 | 304 |
| |
| |||
293 | 307 |
| |
294 | 308 |
| |
295 | 309 |
| |
296 |
| - | |
| 310 | + | |
297 | 311 |
| |
298 | 312 |
| |
299 | 313 |
| |
| |||
320 | 334 |
| |
321 | 335 |
| |
322 | 336 |
| |
323 |
| - | |
| 337 | + | |
324 | 338 |
| |
325 | 339 |
| |
326 | 340 |
| |
327 | 341 |
| |
328 |
| - | |
| 342 | + | |
329 | 343 |
| |
330 | 344 |
| |
331 | 345 |
| |
| |||
352 | 366 |
| |
353 | 367 |
| |
354 | 368 |
| |
355 |
| - | |
| 369 | + | |
356 | 370 |
| |
357 | 371 |
| |
358 | 372 |
| |
| |||
380 | 394 |
| |
381 | 395 |
| |
382 | 396 |
| |
383 |
| - | |
| 397 | + | |
384 | 398 |
| |
385 | 399 |
| |
386 | 400 |
| |
| |||
419 | 433 |
| |
420 | 434 |
| |
421 | 435 |
| |
422 |
| - | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
423 | 439 |
| |
424 | 440 |
| |
425 | 441 |
| |
426 | 442 |
| |
427 |
| - | |
| 443 | + | |
428 | 444 |
| |
429 | 445 |
| |
430 | 446 |
| |
| |||
489 | 505 |
| |
490 | 506 |
| |
491 | 507 |
| |
492 |
| - | |
| 508 | + | |
493 | 509 |
| |
494 | 510 |
| |
495 | 511 |
| |
496 | 512 |
| |
497 |
| - | |
| 513 | + | |
498 | 514 |
| |
499 | 515 |
| |
500 | 516 |
| |
| |||
518 | 534 |
| |
519 | 535 |
| |
520 | 536 |
| |
521 |
| - | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
522 | 540 |
| |
523 | 541 |
| |
524 | 542 |
| |
525 | 543 |
| |
526 |
| - | |
| 544 | + | |
527 | 545 |
| |
528 | 546 |
| |
529 | 547 |
| |
|
python/paddle/device/xpu/__init__.py
Copy file name to clipboardExpand all lines: python/paddle/device/xpu/__init__.py+15-3Lines changed: 15 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
14 | 19 |
| |
15 | 20 |
| |
16 | 21 |
| |
17 | 22 |
| |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
18 | 30 |
| |
19 | 31 |
| |
20 | 32 |
| |
| |||
26 | 38 |
| |
27 | 39 |
| |
28 | 40 |
| |
29 |
| - | |
| 41 | + | |
30 | 42 |
| |
31 | 43 |
| |
32 | 44 |
| |
| |||
59 | 71 |
| |
60 | 72 |
| |
61 | 73 |
| |
62 |
| - | |
| 74 | + | |
63 | 75 |
| |
64 | 76 |
| |
65 | 77 |
| |
| |||
84 | 96 |
| |
85 | 97 |
| |
86 | 98 |
| |
87 |
| - | |
| 99 | + | |
88 | 100 |
| |
89 | 101 |
| |
90 | 102 |
| |
|
You can’t perform that action at this time.
0 commit comments