dpn
  • Joined on Jul 18, 2020
Loading Heatmap…

dpn pushed to ndarray at dpn/nac3

5 months ago

dpn created branch ndarray in dpn/nac3

5 months ago

dpn pushed to ndarray at dpn/nac3

5 months ago

dpn commented on issue M-Labs/nac3#149

implement numpy arrays, math functions, and matrix math

A subscriptable `np.ndarray` has been merged into NumPy https://github.com/numpy/numpy/pull/19879, although the extra `np.dtype` wrapper seems undesirable, and I'm not sure what form the shape type…

6 months ago

dpn commented on issue M-Labs/nac3#149

implement numpy arrays, math functions, and matrix math

With the general move towards "proper" Python type annotations, it would be nice if we could. Unfortunately, this is very much still brewing in upstream NumPy, and what seems like a tentative…

6 months ago

dpn commented on issue M-Labs/nac3#149

implement numpy arrays, math functions, and matrix math

> Not sure how should we handle num_dims otherwise. It's easily possible to implement template value parameters if you don't need to do global type inference for them (as long as you have function…

6 months ago

dpn commented on issue M-Labs/nac3#149

implement numpy arrays, math functions, and matrix math

Do we want to try to implement this as a library, or hard-code an `array[element_type, num_dims]` type into the compiler like before? The first option would involve adding enough in terms of template…

6 months ago

dpn deleted branch flake-fix-nixConfig from dpn/nac3

6 months ago

dpn created pull request M-Labs/nac3#266

flake.nix: Fix outdated nixConfig keys

6 months ago

dpn created branch flake-fix-nixConfig in dpn/nac3

6 months ago

dpn pushed to flake-fix-nixConfig at dpn/nac3

  • 879c66cccf flake.nix: Fix outdated nixConfig keys

6 months ago

dpn created repository dpn/nac3

6 months ago

dpn commented on issue M-Labs/nac3#258

Dynamic attributes and typing

This is a major problem for testing NAC3 here in practice, as we similarly rely on ndscan to centrally provide the experiment execution logic in a generic fashion (variable numbers and types of…

6 months ago

dpn pushed to master at M-Labs/nix-scripts

2 years ago

dpn commented on issue M-Labs/artiq-zynq#119

LLVM pass optimization

> My remark was about the changes to numba llvmlite, that change cause experiments requiring DMA to fail (firmware assert failed). IDK what exactly is causing this issue. Ah, I understand –…

2 years ago

dpn commented on issue M-Labs/artiq-zynq#119

LLVM pass optimization

What are you worried about regarding DMA? Accesses to memory-mapped locations of course need to be marked as volatile, but that isn't really related to the autovectorizer or DMA.

2 years ago

dpn commented on issue M-Labs/artiq-zynq#119

LLVM pass optimization

Oh, the autovectorizer definitely does something for a few tests, like for instance some of the (IIRC integer) math throughput tests from the paper. It's just that interestingly, it leaves e.g. the…

2 years ago

dpn commented on issue M-Labs/artiq-zynq#118

review FSBL boot

What's the impetus here? Being able to cross-check with ARTIQ booted from FSBL in case of any issues?

2 years ago

dpn commented on pull request M-Labs/artiq-zynq#126

runtime: use device endian for kernel/rpc

> Though I'm not insisting on that idea; we can instead specify that all ARTIQ firmware protocols always use the endianness of the core device, and have the core device announce its endianness when…

2 years ago

dpn commented on pull request M-Labs/artiq-zynq#126

runtime: use device endian for kernel/rpc

Why do we need two versions in the first place?

2 years ago