• Joined on 2024-06-03
lyken pushed to ndstrides-7-broadcasting at M-Labs/nac3 2024-08-30 14:46:02 +08:00
d32268fb5d core/ndstrides: implement broadcasting & np_broadcast_to()
916a2b4993 core/ndstrides: implement np_reshape()
c7c3cc21a8 core: categorize np_{transpose,reshape} as 'view functions'
d2072d9248 core/ndstrides: implement np_size()
be19165ead core/ndstrides: implement np_shape() and np_strides()
Compare 65 commits »
lyken pushed to ndstrides-5-miscfuncs at M-Labs/nac3 2024-08-30 14:41:13 +08:00
d2072d9248 core/ndstrides: implement np_size()
be19165ead core/ndstrides: implement np_shape() and np_strides()
ee58cf3fc3 core/ndstrides: implement ndarray.fill() and .copy()
8fe8ccf200 core/ndstrides: implement np_identity() and np_eye()
d222236492 core/ndstrides: implement np_array()
Compare 5 commits »
lyken pushed to ndstrides-4-nparray at M-Labs/nac3 2024-08-30 14:40:19 +08:00
d222236492 core/ndstrides: implement np_array()
lyken commented on pull request M-Labs/nac3#514 2024-08-30 14:38:48 +08:00
ndstrides: [4] Implement np_array()

Rebased to fix some formatting issues.

lyken pushed to ndstrides-4-nparray at M-Labs/nac3 2024-08-30 14:38:34 +08:00
f109c58da8 core/ndstrides: implement np_array()
lyken pushed to ndstrides-6-reshape at M-Labs/nac3 2024-08-30 14:37:55 +08:00
09fec5efaf core/ndstrides: implement np_reshape()
802801a8b4 core: categorize np_{transpose,reshape} as 'view functions'
50ab93c9cc core/ndstrides: implement np_size()
ce11a375c1 core/ndstrides: implement np_shape() and np_strides()
5a2448afd1 core/ndstrides: implement ndarray.fill() and .copy()
Compare 64 commits »
lyken pushed to ndstrides-5-miscfuncs at M-Labs/nac3 2024-08-30 14:34:21 +08:00
50ab93c9cc core/ndstrides: implement np_size()
ce11a375c1 core/ndstrides: implement np_shape() and np_strides()
5a2448afd1 core/ndstrides: implement ndarray.fill() and .copy()
aa491b3a36 core/ndstrides: implement np_identity() and np_eye()
81e937db82 core/ndstrides: implement np_array()
Compare 62 commits »
lyken commented on pull request M-Labs/nac3#514 2024-08-30 14:28:03 +08:00
ndstrides: [4] Implement np_array()

Rebased.

lyken pushed to ndstrides-4-nparray at M-Labs/nac3 2024-08-30 14:26:12 +08:00
81e937db82 core/ndstrides: implement np_array()
13715dbda9 core/irrt: add List
7910de10a1 core/ndstrides: add NDArrayObject::atleast_nd
6edc3f895b core/ndstrides: add NDArrayObject::make_copy
a40cdde8d2 core/ndstrides: implement ndarray indexing
Compare 58 commits »
lyken commented on pull request M-Labs/nac3#513 2024-08-30 14:13:24 +08:00
ndstrides: [3] Implement indexing/slicing

Rebased to fix some formatting issues.

lyken pushed to ndstrides-3-indexing at M-Labs/nac3 2024-08-30 14:13:05 +08:00
a40cdde8d2 core/ndstrides: implement ndarray indexing
lyken commented on pull request M-Labs/nac3#513 2024-08-30 14:11:23 +08:00
ndstrides: [3] Implement indexing/slicing

Rebased.

lyken pushed to ndstrides-3-indexing at M-Labs/nac3 2024-08-30 14:11:18 +08:00
fdd5d37490 core/ndstrides: implement ndarray indexing
853fa39537 core/irrt: rename NDIndex to NDIndexInt
b6a1880226 core/irrt: add Slice and Range
d1c75c7444 core/ndstrides: implement len(ndarray) & refactor len()
58c5bc56b9 core/ndstrides: implement np_{zeros,ones,full,empty}
Compare 54 commits »
lyken pushed to ndstrides-2-basic at M-Labs/nac3 2024-08-30 13:48:14 +08:00
d1c75c7444 core/ndstrides: implement len(ndarray) & refactor len()
58c5bc56b9 core/ndstrides: implement np_{zeros,ones,full,empty}
ddc0e44c61 core/model: add util::gen_for_model
549536f72c core/object: add ListObject and TupleObject
40c42b571a core/ndstrides: implement ndarray iterator NDIter
Compare 51 commits »
lyken commented on pull request M-Labs/nac3#509 2024-08-30 13:00:48 +08:00
ndstrides: [1] Introduce models

Rebased ndstrides-1-model onto ndstrides; Branch ndstrides has been reset --hard to master. The IRRT changes have been merged into master.

lyken pushed to ndstrides at M-Labs/nac3 2024-08-30 12:55:40 +08:00
71c3a65a31 [core] codegen/stmt: Fix obtaining return type of sret functions
8c540d1033 [core] codegen/stmt: Add more casts for boolean types
0cc60a3d33 [core] codegen/expr: Fix missing cast to i1
a59c26aa99 [artiq] Fix RPC of ndarrays from host
02d93b11d1 [meta] Update dependencies
Compare 26 commits »
lyken pushed to ndstrides-1-model at M-Labs/nac3 2024-08-30 12:51:43 +08:00
d1c7a8ee50 StructKind::{traverse -> iter}_fields
e0524c19eb Newline "Otherwise, it will be caught..."
32822f9052 gep_index must be u32
6283036815 FieldTraversal::{Out -> Output}
f167f5f215 Ptr::copy_from to use SizeT
Compare 42 commits »
lyken commented on issue M-Labs/nac3#502 2024-08-30 10:18:06 +08:00
initialization of large int64 attribute fails

build() should have been written as:

def build(self):
    self.setattr_device("core")
    self.int32_min = numpy.iinfo(int32).min
    self.int32_max = numpy.iinfo(int32).max