Commit Graph

440 Commits

Author SHA1 Message Date
c3092ae13f compiler: factorize operation of NodeTransformer on statement lists 2014-06-21 00:40:52 +02:00
6400e28e4c compiler: fold constants 2014-06-21 00:19:56 +02:00
94ff2e2ddc compiler: share value_to_ast 2014-06-21 00:19:40 +02:00
5b0fd50dbe inline: support rw kernel attributes 2014-06-18 21:04:54 +02:00
67e042852a Add simple simulation example 2014-06-18 13:43:09 +02:00
d41ac863f4 inline: support kernel_attr_ro 2014-06-17 19:46:22 +02:00
0d9bdc101c inline: check inlined functions are on the same core device 2014-06-17 18:52:48 +02:00
08ab99d33e inline: basic function inlining 2014-06-17 18:37:51 +02:00
d87b207b8a compiler/inline: embeddable calls 2014-06-16 23:52:19 +02:00
8cb3d33c67 compiler_test: better RPC example 2014-06-16 23:51:43 +02:00
79f20ebfcf Make syscall an experiment function instead of a core method 2014-06-16 23:51:27 +02:00
9db8627081 compiler: generate RPC calls 2014-06-16 22:56:08 +02:00
792ac44245 inline: return statements 2014-06-16 22:01:20 +02:00
c021b2ef41 compiler/inline: handle function params and builtin calls 2014-06-16 21:52:38 +02:00
f035507bac language/experiment: attach k_function_info in kernel decorator, do not use star notation for kernel args 2014-06-16 21:51:58 +02:00
903cbfd848 compiler_test: demo parameters and constant globals 2014-06-16 21:39:33 +02:00
733a03b7ad cleanup 2014-06-16 21:35:08 +02:00
d63c3264d3 devices/core: test inline transform first 2014-06-16 21:33:59 +02:00
7ec448cdc9 compiler: inline transform WIP 2014-06-10 15:23:14 +02:00
3cd462f4d5 experiment: simplify definition of kernel_attr 2014-06-10 15:22:27 +02:00
8cc9c9eed6 units: remove duplicate method 2014-06-10 15:16:45 +02:00
7eb9641905 compiler: share eval_ast 2014-06-10 15:16:28 +02:00
d7f9e6b228 experiment: add list of kernel globals 2014-06-10 15:16:04 +02:00
b0006e933a experiment/_DummyTimeManager: add missing enter_parallel 2014-06-10 15:15:35 +02:00
9e8077b873 First simple attempt at compiling Python AST to LLVM IR 2014-06-07 18:47:06 +02:00
434d6d70a0 Add info on how to get llvmpy to work with OR1K 2014-06-02 18:20:28 +02:00
13acb57179 TimeManager: use units further, add now/at functionality 2014-05-30 19:01:27 +02:00
732412e4c9 units: implement operators 2014-05-30 19:00:33 +02:00
c769bdab9b Introduce compiler and device modules 2014-05-30 18:20:13 +02:00
18ef03c545 Refactor, introduce experiment class, kernel decorator, parameters and channel objects 2014-05-28 22:42:01 +02:00
7409f095f1 Do not deal with threads for now 2014-05-28 22:40:26 +02:00
c423b4c9a0 transform: collapse timeline 2014-05-25 20:23:29 +02:00
956f75d168 unroll_loops: handle for/else 2014-05-25 13:37:12 +02:00
08ff5154a8 transform: explicit delays and unroll for loops 2014-05-25 13:31:02 +02:00
e3620cc61f Transform test 2014-05-24 23:06:48 +02:00
7b406e7e35 al_spectroscopy: add delay after wait_edge 2014-05-24 23:06:10 +02:00
8e1d334b7b Add unparser (from Python source) 2014-05-24 23:05:48 +02:00
1a473abecb Threads and parallel block lowering examples 2014-05-18 19:28:08 +02:00
8b57e7de01 Add gitignore 2014-05-17 14:09:14 +02:00
c3c83f86b6 Basic simulation of Al spectroscopy 2014-05-17 14:08:50 +02:00