ram
|
bd0c0c9dfb
|
Merge upstream/master into feature/invk
|
2025-02-10 03:06:54 +00:00 |
|
|
c32c68b0b0
|
flake: update dependencies
|
2025-02-05 15:42:23 +08:00 |
|
|
d394b24304
|
[meta] flake: Add LLVM bintools to artiq-{instrumented,pgo}
|
2025-02-03 13:10:13 +08:00 |
|
|
68da9b0ecf
|
[core] codegen: Implement StructProxy on existing proxies
|
2025-02-03 11:51:57 +08:00 |
|
|
eec62c3bbb
|
[core] codegen: Refactor StructField getters and setters
|
2025-02-03 11:51:57 +08:00 |
|
|
b521bc0c82
|
[core] codegen: Add Proxy{Type,Value}::as_abi_{type,value}
Needed for PtrToOrBasic{Type,Value}.
|
2025-02-03 11:51:57 +08:00 |
|
|
96e98947cc
|
[core] codegen: Add StructProxy{Type,Value}
|
2025-02-03 11:51:57 +08:00 |
|
|
87a637b448
|
[core] codegen: Refactor Proxy{Type,Value} for StructProxy{Type,Value}
|
2025-02-03 11:51:57 +08:00 |
|
|
bdeeced122
|
[core] codegen: Normalize RangeType factory functions
Better matches factory functions of other ProxyTypes.
|
2025-02-03 11:51:57 +08:00 |
|
|
37df08b803
|
[meta] Update dependencies
|
2025-02-03 11:51:57 +08:00 |
|
|
05fd1a5199
|
[meta] Use lld as linker
|
2025-02-03 10:56:35 +08:00 |
|
ram
|
9f7dbecae2
|
Cleaned up implementation
|
2025-01-28 06:14:07 +00:00 |
|
|
f817d3347b
|
[artiq] cleanup module functionality tests
|
2025-01-20 10:24:08 +08:00 |
|
|
2d275949b8
|
move tests from artiq to standalone
|
2025-01-17 13:10:35 +08:00 |
|
|
2783834cb1
|
nac3artiq/demo: merge EmbeddingMap into min_artiq
|
2025-01-17 12:45:51 +08:00 |
|
|
879b063968
|
[artiq] add tests for module support
|
2025-01-16 12:42:13 +08:00 |
|
|
14e80dfab7
|
update snapshots
|
2025-01-16 12:41:30 +08:00 |
|
|
5fdbc34b43
|
[core] implement codegen for modules
|
2025-01-16 12:40:56 +08:00 |
|
|
32f24261f2
|
[artiq] add global variables to modules
|
2025-01-16 12:40:14 +08:00 |
|
|
ce40a46f8a
|
[core] add module type
|
2025-01-16 12:40:06 +08:00 |
|
|
f15a64cc1b
|
[artiq] register modules
|
2025-01-16 11:13:04 +08:00 |
|
|
7fac801936
|
[artiq] add module primitive type
|
2025-01-16 11:13:04 +08:00 |
|
|
febfd1241d
|
[core] add module type
|
2025-01-16 11:13:04 +08:00 |
|
|
4bd5349381
|
[core] add attributes to class string
|
2025-01-16 11:13:04 +08:00 |
|
|
c15062ab4c
|
msys2: update
|
2025-01-15 21:33:58 +08:00 |
|
|
933804e270
|
update dependencies
|
2025-01-15 21:18:45 +08:00 |
|
|
1cfaa1a779
|
[core] toplevel: Implement np_{any,all}
|
2025-01-15 16:09:32 +08:00 |
|
|
18e8e5269f
|
[core] codegen/values/ndarray: Add fold utilities
Needed for np_{any,all}.
|
2025-01-15 16:09:32 +08:00 |
|
|
357970a793
|
[core] codegen/stmt: Add build_{break,continue}_branch functions
|
2025-01-15 16:09:32 +08:00 |
|
|
762a2447c3
|
[core] codegen: Remove obsolete comments
Comments regarding the need for `llvm.stack{save,restore}` is obsolete
now that `NDIter::indices` is allocated at the beginning of the
function.
|
2025-01-15 16:09:32 +08:00 |
|
|
8e614d83de
|
[core] codegen: Add ProxyType::new overloads and refactor to use them
|
2025-01-15 13:23:19 +08:00 |
|
|
bd66fe48d8
|
[core] codegen: Refactor to use CodeGenContext::get_size_type
Simplifies a lot of API usage.
|
2025-01-15 13:23:19 +08:00 |
|
|
c59fd286ff
|
[artiq] Move get_llvm_* to Isa, use TargetMachine to infer size_t
|
2025-01-15 13:23:19 +08:00 |
|
|
f8530e0ef6
|
[core] codegen: Add CodeGenContext::get_size_type
Convenience method for getting the `size_t` LLVM type without the use of
`CodeGenerator`.
|
2025-01-15 13:22:50 +08:00 |
|
|
3ebd4ba5d1
|
[core] codegen: Add assertion verifying size_t is compatible
|
2025-01-14 18:25:00 +08:00 |
|
|
83fa1db6b8
|
Removed comments
|
2025-01-14 09:28:04 +00:00 |
|
|
d1dcfa19ff
|
CodeGenerator: Add with_target_machine factory function
Allows creating CodeGenerator with the LLVM target machine to infer the
expected type for size_t.
|
2025-01-13 14:55:33 +08:00 |
|
|
b4b3980ffb
|
Add test case for passing strings into kernel invokation breaks
|
2025-01-10 08:14:42 +00:00 |
|
|
29130d3ef4
|
Add string registration in NAC
|
2025-01-10 06:23:08 +00:00 |
|
|
3d087160ca
|
Add string registration in NAC
|
2025-01-10 06:22:53 +00:00 |
|
|
37886fcfe3
|
Add string registration in NAC
|
2025-01-10 06:09:38 +00:00 |
|
|
c3bcf101d4
|
Merge remote-tracking branch 'upstream/master'
|
2025-01-10 04:00:40 +00:00 |
|
|
8baf111734
|
[meta] Apply clippy suggestions
|
2025-01-06 17:11:31 +08:00 |
|
|
eaaa194a87
|
[artiq] symbol_resolver: Cast ndarray.{shape,strides} globals to usize*
This is needed as ndarray.{shapes,strides} are ArrayValues, and so a GEP
operation is required to convert them into pointers to their first
elements.
|
2025-01-06 16:53:33 +08:00 |
|
|
352c7c880b
|
[artiq] symbol_resolver: Fix incorrect global type for ndarray.strides
|
2025-01-06 16:53:33 +08:00 |
|
|
3c5e247195
|
[artiq] symbol_resolver: Use TargetData to get size of dtype
dtype.size_of() may not return a constant value.
|
2025-01-06 16:53:33 +08:00 |
|
|
4e21def1a0
|
[artiq] symbol_resolver: Add missing promotion for host compilation
Shape tuple is always in i32, so a zero-extension to i64 is
necessary when assigning the shape tuple into the shape field of the
ndarray.
|
2025-01-06 16:53:33 +08:00 |
|
|
2271b46b96
|
[core] codegen/values/ndarray: Fix Vec allocation
|
2025-01-06 16:53:33 +08:00 |
|
|
d9c180ed13
|
[artiq] symbol_resolver: Fix support for np.bool_ -> bool decay
|
2025-01-06 16:53:33 +08:00 |
|
|
8322d457c6
|
standalone/demo: numpy2 compatibility
|
2025-01-04 15:30:24 +08:00 |
|