sb0 changed the topic of #m-labs to: ARTIQ, Migen, MiSoC, Mixxeo & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
acathla has quit [Ping timeout: 260 seconds]
<GitHub55> [artiq] whitequark pushed 1 new commit to new-py2llvm: http://git.io/vGIyl
<GitHub55> artiq/new-py2llvm c21387d whitequark: compiler.embedding: support calling methods marked as @kernel.
<whitequark> ugh. that turned out to have to be extremely contrived in order to work
acathla has joined #m-labs
ylamarre has quit [Quit: ylamarre]
<sb0> rjo, so how did you debug it?
<GitHub95> [artiq] sbourdeauducq pushed 2 new commits to master: http://git.io/vGIjJ
<GitHub95> artiq/master ebfd8c9 Sebastien Bourdeauducq: language/environment: fix set_* with parent
<GitHub95> artiq/master c7d9bb7 Sebastien Bourdeauducq: Merge branch 'master' of github.com:m-labs/artiq
<sb0> yes, FUD is one rtio clock long
travis-ci has joined #m-labs
<travis-ci> m-labs/artiq#447 (master - c7d9bb7 : Sebastien Bourdeauducq): The build passed.
travis-ci has left #m-labs [#m-labs]
_florent__ has joined #m-labs
_florent_ has quit [Ping timeout: 246 seconds]
_florent__ is now known as _florent_
larsc has quit [Remote host closed the connection]
<whitequark> hrm
<whitequark> what's a good way to serialize execution of python processes?
<whitequark> lit tries to parallelize tests, which obviously breaks if i try to use serial communication
<whitequark> actually, nevermind, i should not use lit for that.
acathla has quit [Changing host]
acathla has joined #m-labs
<GitHub153> [artiq] whitequark pushed 3 new commits to new-py2llvm: http://git.io/vGLwP
<GitHub153> artiq/new-py2llvm d80be48 whitequark: Allow clearing core device log buffer....
<GitHub153> artiq/new-py2llvm 7c1abb2 whitequark: compiler.embedding: test all diagnostics....
<GitHub153> artiq/new-py2llvm 13e612c whitequark: Fix tests.
<whitequark> sb0, is that a better diagnostic than artiq.transforms.tools.NotASTRepresentable? :]
<GitHub194> [artiq] whitequark pushed 1 new commit to new-py2llvm: http://git.io/vGL6l
<GitHub194> artiq/new-py2llvm 6b55e3b whitequark: compiler.embedding: use qualified name when embedding methods.
FabM has quit [Remote host closed the connection]
FabM has joined #m-labs
<GitHub160> [artiq] whitequark pushed 1 new commit to new-py2llvm: http://git.io/vGL1A
<GitHub160> artiq/new-py2llvm d473d58 whitequark: artiq_{compile,run}: adapt to new compiler.
<rjo> clocking the rtio domain phase locked w.r.t the dds synclk worked reliably (~100 trials). rtio domain at 125mhz, dds at 2.4ghz, synclk thus at 100mhz. that tests all kinds of fud-synclk alignments. and most of them meet setup hold specification.
<rjo> but the setup was a bit ragged. i would want to redo it to be sure. and really test 1e9 trials with feedback to the fpga. we could do something pseudo-digital with a short (~1us) phase pulse at zero ftw. then match the amplitude to ttl and feed it into the core device.
<rjo> and raghu did a lot of the work.
<GitHub2> [artiq] whitequark pushed 3 new commits to new-py2llvm: http://git.io/vGL9g
<GitHub2> artiq/new-py2llvm ed236eb whitequark: artiq_run: pretty-print diagnostics.
<GitHub2> artiq/new-py2llvm 9936768 whitequark: ARTIQIRGenerator: fix non-nullary method calls.
<GitHub2> artiq/new-py2llvm 9605e82 whitequark: coredevice.ttl: update for new int semantics.
larsc has joined #m-labs
<GitHub7> [artiq] whitequark pushed 3 new commits to new-py2llvm: http://git.io/vGLQK
<GitHub7> artiq/new-py2llvm 677cc69 whitequark: compiler.embedding: actually use qualified name when embedding methods....
<GitHub7> artiq/new-py2llvm edf33f1 whitequark: compiler.targets: dump module signature with ARTIQ_DUMP_SIG=1.
<GitHub7> artiq/new-py2llvm 6b8ef8c whitequark: artiq_run: use "artiq_run_" as user code module prefix, not "file_import_".
<whitequark> fuck
<GitHub198> [artiq] whitequark pushed 1 new commit to new-py2llvm: http://git.io/vGLNy
<GitHub198> artiq/new-py2llvm ac92aab whitequark: Fix default argument fiasco.
<whitequark> I want to find whoever came up with the default argument semantics and force them to write Python every single day
<whitequark> as a punishment
<GitHub54> [artiq] fallen pushed 1 new commit to master: http://git.io/vGLAZ
<GitHub54> artiq/master 241b765 Yann Sionneau: manual: fix typo in package name
<GitHub14> [artiq] whitequark pushed 1 new commit to new-py2llvm: http://git.io/vGLA8
<GitHub14> artiq/new-py2llvm 6a29775 whitequark: compiler.types.Type: more useful __str__.
<GitHub150> [artiq] whitequark pushed 3 new commits to new-py2llvm: http://git.io/vGLhi
<GitHub150> artiq/new-py2llvm 9fd25a1 whitequark: LLVMIRGenerator: fix syscall emission.
<GitHub150> artiq/new-py2llvm 30cdb20 whitequark: log.c: fix warnings.
<GitHub150> artiq/new-py2llvm 98bb570 whitequark: log.c: fix off-by-one error.
aeris_ has joined #m-labs
<GitHub3> [artiq] whitequark pushed 2 new commits to new-py2llvm: http://git.io/vGtJe
<GitHub3> artiq/new-py2llvm 83ebb99 whitequark: transforms.Inferencer: improve attribute unification diagnostic.
<GitHub3> artiq/new-py2llvm c621b1f whitequark: compiler: handle language.core.int during embedding.
<whitequark> alright, the LED example now works unmodified if I change now_mu() to now_init() in ttl.py (since there's no now_mu() yet...)
<whitequark> but all the embedding stuff works correctly.
<ysionneau> \o/
<GitHub114> [artiq] sbourdeauducq pushed 3 new commits to master: http://git.io/vGtTa
<GitHub114> artiq/master a36a50b Sebastien Bourdeauducq: comm_tcp: add connect timeout
<GitHub114> artiq/master 031d8d0 Sebastien Bourdeauducq: doc/manual: add note about bidirectional TTL in tutorial
<GitHub114> artiq/master 1cace1c Sebastien Bourdeauducq: style
<whitequark> seems to generate massive amounts of assembly for simple functions for some reason
<whitequark> ohhh, it's the loads from closures + spills necessary to free up registers for those
<whitequark> should get amortized for large functions, I think
<sb0> whitequark, cool!
<sb0> the now_init stuff should be quite straightforward, I think
<whitequark> it's a part of interleaving...
<sb0> re. NotASTRepresentable. were you referring to Joe's issue?
<sb0> we should be able to use Scannable on the device (but that is a lower priority than interleaving)
<sb0> well, not Scannable, the objects it creates
<sb0> rjo, how can it work if the rtio clock is faster than synclk?
travis-ci has joined #m-labs
<travis-ci> m-labs/artiq#448 (master - 241b765 : Yann Sionneau): The build passed.
travis-ci has left #m-labs [#m-labs]
<sb0> the dds code assumes that the rtio clock has the same frequency as synclk, and is phase-locked
<whitequark> sb0: there are no generators at the moment... hrm
<GitHub148> [artiq] whitequark pushed 1 new commit to new-py2llvm: http://git.io/vGtY2
<GitHub148> artiq/new-py2llvm 72823cf whitequark: test.{coredevice,coredevice_vs_host} → test.coredevice.{rtio,portability}.
travis-ci has joined #m-labs
<travis-ci> m-labs/artiq#449 (master - 1cace1c : Sebastien Bourdeauducq): The build passed.
travis-ci has left #m-labs [#m-labs]
fengling has quit [Ping timeout: 245 seconds]
fengling has joined #m-labs
<GitHub90> [artiq] whitequark pushed 2 new commits to new-py2llvm: http://git.io/vGtVn
<GitHub90> artiq/new-py2llvm 79af228 whitequark: ksupport: provide abort() to the kernel library.
<GitHub90> artiq/new-py2llvm 5916c10 whitequark: ARTIQException: replace ARTIQ library path with <artiq> in tracebacks.
<whitequark> fucking amazing
<whitequark> we can't convert lambdas to RPCs
<whitequark> because there's no way to get column number and thus distinguish between two lambdas on the same line
<whitequark> python's inspect.getsource does ''.join(lines)
<whitequark> becaue ~~python is garbage~~
<GitHub115> [artiq] whitequark pushed 3 new commits to new-py2llvm: http://git.io/vGt6S
<GitHub115> artiq/new-py2llvm b35051c whitequark: compiler.embedding: handle calls into lambdas (poorly).
<GitHub115> artiq/new-py2llvm bcba86d whitequark: compiler.embedding: handle errors during initial kernel call.
<GitHub115> artiq/new-py2llvm 37811f6 whitequark: ARTIQIRGenerator: support comparisons against None.
<whitequark> ah, you can't annotate return type of lambda anyway
<whitequark> so the problem sort of fixes itself
<GitHub152> [artiq] whitequark pushed 1 new commit to new-py2llvm: http://git.io/vGt1G
<GitHub152> artiq/new-py2llvm cbd903a whitequark: compiler.embedding: add tests for quote serialization.
_florent_ has quit [*.net *.split]
attie has quit [*.net *.split]
early has quit [*.net *.split]
jaeckel has quit [*.net *.split]
MiW has quit [*.net *.split]
awallin_ has quit [*.net *.split]
siruf has quit [*.net *.split]
mindrunner has quit [*.net *.split]
<GitHub80> [artiq] whitequark pushed 1 new commit to new-py2llvm: http://git.io/vGtMy
<GitHub80> artiq/new-py2llvm 2124ff9 whitequark: Fix tests.
<whitequark> alright, that makes me sure enough it's not going to break randomly.
awallin_ has joined #m-labs
siruf has joined #m-labs
mindrunner has joined #m-labs
<whitequark> time to figure out interleaving... whoops, it's 0530
_florent_ has joined #m-labs
attie has joined #m-labs
early has joined #m-labs
jaeckel has joined #m-labs
MiW has joined #m-labs
_florent_ has quit [*.net *.split]
attie has quit [*.net *.split]
early has quit [*.net *.split]
jaeckel has quit [*.net *.split]
MiW has quit [*.net *.split]
_florent_ has joined #m-labs
early has joined #m-labs
jaeckel has joined #m-labs
attie has joined #m-labs
MiW has joined #m-labs
fengling has quit [Quit: WeeChat 1.2]
aeris_ has quit [Ping timeout: 246 seconds]
aeris_ has joined #m-labs
<GitHub87> [artiq] fallen pushed 1 new commit to master: http://git.io/vGYsw
<GitHub87> artiq/master 2056831 Yann Sionneau: manual: add install instructions for pygit2
aeris_ has quit [Ping timeout: 272 seconds]
<GitHub17> [artiq] fallen pushed 1 new commit to master: http://git.io/vGYlq
<GitHub17> artiq/master fc1c7c2 Yann Sionneau: setup.py: automate installation of llvmlite_artiq dependency
<rjo> sb0: i said "most of them".
sb0 has quit [Quit: Leaving]
travis-ci has joined #m-labs
<travis-ci> m-labs/artiq#450 (master - 2056831 : Yann Sionneau): The build passed.
travis-ci has left #m-labs [#m-labs]
travis-ci has joined #m-labs
<travis-ci> m-labs/artiq#451 (master - fc1c7c2 : Yann Sionneau): The build has errored.
travis-ci has left #m-labs [#m-labs]
<ysionneau> whitequark: humm when llvmlite_artiq is automatically fetched as an artiq dependency (when doing python setup.py develop --user from artiq root dir) it does install llvmlite_artiq ... but without the libllvmlite.so file
<ysionneau> it is not even built
<ysionneau> it seems to only run python setup.py bdist_egg from the llvmlite root dir and it does not run build_ext target
<ysionneau> Is it OK is I commit this: http://pastebin.com/RurdpcAd ? Seems to fix the issue, but I don't know if there might be a cleaner way of doing it ...
<ysionneau> I'm absolutely not a setuptools rock star
<ysionneau> on the other hand the setup.py of llvmlite already has several subclassing of setuptools commands so ...
<ysionneau> hmm I could add a comment to explain why I do this
kaalia has joined #m-labs
ylamarre has joined #m-labs
fengling has joined #m-labs
travis-ci has joined #m-labs
<travis-ci> m-labs/artiq#451 (master - fc1c7c2 : Yann Sionneau): The build passed.
travis-ci has left #m-labs [#m-labs]
fengling has quit [Ping timeout: 245 seconds]