• Joined on 2020-07-18
dpn commented on pull request M-Labs/artiq-zynq#339 2024-11-20 09:21:07 +08:00
Fix DWARF parser treating catch blocks as unconditional

LGTM – it's a pretty typo, and the logic is required (I have a similar patch for upstream ARTIQ on x86_64 [as part of my on-host core device emulator branch](https://github.com/dnadlinger/artiq/c

dpn commented on issue M-Labs/nac3#149 2023-12-01 11:11:34 +08:00
implement numpy arrays, math functions, and matrix math

(apologies, clicked the "Comment and Close" button by mistake)

dpn reopened issue M-Labs/nac3#149 2023-12-01 11:09:09 +08:00
implement numpy arrays, math functions, and matrix math
dpn closed issue M-Labs/nac3#149 2023-12-01 00:25:33 +08:00
implement numpy arrays, math functions, and matrix math
dpn commented on issue M-Labs/nac3#149 2023-12-01 00:25:30 +08:00
implement numpy arrays, math functions, and matrix math

Effectively the array would be represented as NDArray[dtype, ndims] in the type system, where ndims is a const-generic argument specifying the number of dimensions.

Yep, this then matches my…

dpn commented on issue M-Labs/nac3#149 2023-12-01 00:24:42 +08:00
implement numpy arrays, math functions, and matrix math

Effectively the array would be represented as NDArray[dtype, ndims] in the type system, where ndims is a const-generic argument specifying the number of dimensions.

Yep, this then matches my…

dpn commented on issue M-Labs/nac3#149 2023-11-30 03:53:57 +08:00
implement numpy arrays, math functions, and matrix math

In actual scientific code using NumPy/SciPy, reshaping between arrays with different numbers of dimensions is reasonably common. While IIRC not currently supported in artiq.compiler, staying…

dpn commented on issue M-Labs/nac3#149 2023-11-30 03:51:25 +08:00
implement numpy arrays, math functions, and matrix math

Did you discard requiring the number of dimensions to be known at compile-time (like in the current compiler) for some particular reason?

This struck me as the most suitable tradeoff between…

dpn commented on pull request M-Labs/nac3#321 2023-09-21 08:02:36 +08:00
Use i8 for stack boolean variable allocation

IIRC this just adds more complexity, as i1 is still used for IR-level boolean operations (comparisons, select, etc.). The clearest solution re complexity/confusion seems to be to just insist…

dpn commented on pull request M-Labs/nac3#321 2023-09-20 21:59:47 +08:00
Use i8 for stack boolean variable allocation

Yep, using i8 as the "storage type" for bool is, unfortunately, the way to go; this is the standard approach in other compilers.

dpn commented on issue M-Labs/nac3#315 2023-09-12 23:45:44 +08:00
Incorrect Value when assigning list slices using OptimizationLevel::None

Yes; seems like this might potentially be a stack lifetime issue that is just masked by more aggressive optimisations.

For debugging IR issues, using the standalone LLVM tools to run the…

dpn closed issue M-Labs/artiq-zynq#207 2023-01-29 00:21:08 +08:00
tests failing with nixos 22.11 (Python 3.10?)
dpn commented on issue M-Labs/artiq-zynq#207 2023-01-29 00:21:04 +08:00
tests failing with nixos 22.11 (Python 3.10?)

df4988c774b7095c6cc71dcccace2f079a1ff805 (for the RPC alignment issues at least).

dpn pushed to master at M-Labs/artiq-zynq 2023-01-29 00:19:38 +08:00
df4988c774 rpc: Port over size/alignment fix for structs (tuples) with tail padding
dpn pushed to merge-rpc-alignment-fix at dpn/artiq-zynq 2023-01-29 00:15:40 +08:00
df4988c774 rpc: Port over size/alignment fix for structs (tuples) with tail padding
dpn pushed to merge-rpc-alignment-fix at dpn/artiq-zynq 2023-01-28 18:22:50 +08:00
2729726cc5 rpc: Port over size/alignment fix for structs (tuples) with tail padding
800c12e794 fix resolve_channel_name typing
d36899b485 firmware: unify RTIO error message format
6b3fa98d70 add channel names to RTIO errors
4a522ecb3b update ramda and migen-axi
Compare 7 commits »
dpn pushed to ndarray at dpn/nac3 2023-01-27 17:07:47 +08:00
b7ee07d7f1 core/builtins: Simplify vector of None creation [nfc]
dpn pushed to merge-rpc-alignment-fix at dpn/artiq-zynq 2022-12-29 19:44:23 +08:00
c7bf5253c2 rpc: Port over size/alignment fix for structs (tuples) with tail padding
dpn pushed to merge-rpc-alignment-fix at dpn/artiq-zynq 2022-12-29 19:37:29 +08:00
9c1777ba9a rpc: Port over size/alignment fix for structs (tuples) with tail padding
dpn pushed to merge-rpc-alignment-fix at dpn/artiq-zynq 2022-12-29 19:34:07 +08:00
44cd4eb241 rpc: Port over size/alignment fix for structs (tuples) with tail padding