Commit 2f57562
committed
Implement PyOpenCL kernel framework.
* Add helper functions for PyOpenCL kernel loading, memory allocation
and event tracking.
* Add kernels to match the current OpenMP and JAX ones.
* Expand tests to include this infrastructure.
This work might not be merged, but it has served as a useful test
to see what work is involved in the develop and debug cycle when
using PyOpenCL as the backend.1 parent defcf34 commit 2f57562
File tree
83 files changed
+4530
-324
lines changed- src/toast
- _libtoast
- accelerator
- opencl
- ops
- mapmaker_utils
- noise_weight
- pixels_healpix
- pointing_detector
- polyfilter
- scan_map
- stokes_weights
- scripts
- templates
- offset
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
83 files changed
+4530
-324
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
41 | 49 | | |
42 | 50 | | |
43 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
598 | 598 | | |
599 | 599 | | |
600 | 600 | | |
601 | | - | |
| 601 | + | |
| 602 | + | |
602 | 603 | | |
603 | 604 | | |
604 | 605 | | |
| |||
618 | 619 | | |
619 | 620 | | |
620 | 621 | | |
621 | | - | |
622 | | - | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
623 | 626 | | |
624 | 627 | | |
625 | 628 | | |
| |||
639 | 642 | | |
640 | 643 | | |
641 | 644 | | |
642 | | - | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
643 | 648 | | |
644 | 649 | | |
645 | 650 | | |
| |||
658 | 663 | | |
659 | 664 | | |
660 | 665 | | |
661 | | - | |
662 | | - | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
663 | 670 | | |
664 | 671 | | |
665 | 672 | | |
| |||
1163 | 1170 | | |
1164 | 1171 | | |
1165 | 1172 | | |
| 1173 | + | |
1166 | 1174 | | |
1167 | 1175 | | |
1168 | 1176 | | |
| |||
1195 | 1203 | | |
1196 | 1204 | | |
1197 | 1205 | | |
| 1206 | + | |
1198 | 1207 | | |
1199 | 1208 | | |
1200 | 1209 | | |
1201 | 1210 | | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
1202 | 1214 | | |
1203 | 1215 | | |
1204 | 1216 | | |
| |||
1225 | 1237 | | |
1226 | 1238 | | |
1227 | 1239 | | |
| 1240 | + | |
1228 | 1241 | | |
1229 | 1242 | | |
1230 | 1243 | | |
| |||
1258 | 1271 | | |
1259 | 1272 | | |
1260 | 1273 | | |
| 1274 | + | |
1261 | 1275 | | |
1262 | | - | |
1263 | | - | |
| 1276 | + | |
1264 | 1277 | | |
1265 | 1278 | | |
1266 | 1279 | | |
| |||
1269 | 1282 | | |
1270 | 1283 | | |
1271 | 1284 | | |
| 1285 | + | |
1272 | 1286 | | |
1273 | 1287 | | |
1274 | 1288 | | |
| |||
1293 | 1307 | | |
1294 | 1308 | | |
1295 | 1309 | | |
1296 | | - | |
| 1310 | + | |
1297 | 1311 | | |
1298 | 1312 | | |
1299 | 1313 | | |
1300 | 1314 | | |
1301 | 1315 | | |
1302 | 1316 | | |
1303 | | - | |
| 1317 | + | |
| 1318 | + | |
1304 | 1319 | | |
1305 | 1320 | | |
1306 | 1321 | | |
| |||
1312 | 1327 | | |
1313 | 1328 | | |
1314 | 1329 | | |
| 1330 | + | |
1315 | 1331 | | |
1316 | 1332 | | |
1317 | 1333 | | |
| |||
1335 | 1351 | | |
1336 | 1352 | | |
1337 | 1353 | | |
1338 | | - | |
| 1354 | + | |
1339 | 1355 | | |
1340 | 1356 | | |
1341 | 1357 | | |
1342 | 1358 | | |
1343 | 1359 | | |
1344 | 1360 | | |
1345 | | - | |
| 1361 | + | |
| 1362 | + | |
1346 | 1363 | | |
1347 | 1364 | | |
1348 | 1365 | | |
| |||
1376 | 1393 | | |
1377 | 1394 | | |
1378 | 1395 | | |
1379 | | - | |
| 1396 | + | |
| 1397 | + | |
1380 | 1398 | | |
1381 | 1399 | | |
1382 | 1400 | | |
| |||
1404 | 1422 | | |
1405 | 1423 | | |
1406 | 1424 | | |
1407 | | - | |
| 1425 | + | |
| 1426 | + | |
1408 | 1427 | | |
1409 | 1428 | | |
1410 | 1429 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
0 commit comments