0
Fork 0
mirror of https://github.com/zml/zml.git synced 2026-11-16 19:11:09 +00:00

Compare commits

...

21 commits

Author SHA1 Message Date
Hugo Mano
014fb41caf update custom call apis 2025-05-27 12:10:34 +00:00
Hugo Mano
e941e72032 update custom call 2025-05-26 16:19:43 +00:00
Hugo Mano
2a94e531a5 remove useless code 2025-05-26 14:46:52 +00:00
Hugo Mano
deb7219d50 cleanup 2025-05-26 14:13:57 +00:00
Hugo Mano
3015451b1a cleanup 2025-05-26 13:49:24 +00:00
Hugo Mano
8a150c163c cleanup 2025-05-26 12:51:56 +00:00
Hugo Mano
fcfe4ec41e squash 2025-05-26 12:44:41 +00:00
Steeve Morin
ee5be63355 zml: make buffers and execute asynchronous
This change makes buffer and execution completely asynchronous. This
enable easy pipelining of multiple operations. It doesn't map well to
`async` because the PJRT API is already asynchronous, so might as well
use it as is.
2025-05-26 12:43:58 +00:00
Hugo Mano
bf89a85423 updates 2025-05-26 12:43:37 +00:00
Guillaume Wenzek
eefc82bf47 Buffer.asPinnedHostBuffer 2025-05-26 12:43:20 +00:00
Guillaume Wenzek
a04e384a58 chooseItems should assert type 2025-05-26 12:43:01 +00:00
Guillaume Wenzek
5c86d4640d Revert "Buffer.fromHostWithPadding"
This reverts commit 0e7bd71bdca516fa797ffd287db528827b4cdf0a.
2025-05-26 12:42:32 +00:00
Guillaume Wenzek
4c514ad92b Buffer.fromHostWithPadding 2025-05-26 12:42:32 +00:00
Guillaume Wenzek
8ec4a1d3e7 memcpyAsync 2025-05-26 12:42:32 +00:00
Guillaume Wenzek
738f31946a SIMD copyTags 2025-05-26 12:42:32 +00:00
Guillaume Wenzek
29cfcff72e make it work using cuda memcpy blocking 2025-05-26 12:42:32 +00:00
Guillaume Wenzek
baf4300c59 explicit cudaCopy for hostBufferCallback 2025-05-26 12:42:32 +00:00
Guillaume Wenzek
837131b91c async.Queue
fixup! async.Queue
2025-05-26 12:40:36 +00:00
Guillaume Wenzek
e0026b89a9 mprotect output hostbuffers 2025-05-26 12:40:36 +00:00
Guillaume Wenzek
68391a7265 pass tags to the callback 2025-05-26 12:40:06 +00:00
Guillaume Wenzek
e8257eaee5 rename ffi types 2025-05-26 12:40:06 +00:00
38 changed files with 1731 additions and 358 deletions