David Mak derppening
  • Joined on 2023-08-31
derppening pushed to refactor/sequenced-varmap at M-Labs/nac3 2024-03-21 19:01:36 +08:00
9d36adb0d0 core: Refactor VarMap
derppening created branch refactor/sequenced-varmap in M-Labs/nac3 2024-03-21 19:01:36 +08:00
derppening created pull request M-Labs/nac3#387 2024-03-21 15:50:53 +08:00
Add miscellaneous abstraction
derppening pushed to refactor/misc-abstraction at M-Labs/nac3 2024-03-21 15:46:52 +08:00
6322b6db90 core: Add ArrayLikeValue
724651d2bb core: Allow unsized CodeGenerator to be passed to some codegen functions
2665668e21 core: Simplify typed value assertions
9b1c559efb core: Add gen_for_callback_incrementing
5ecc2a905e core: Add missing unchecked accessors for NDArrayDimsProxy
Compare 10 commits »
derppening created branch refactor/misc-abstraction in M-Labs/nac3 2024-03-21 15:46:52 +08:00
b43f94c477 core: DO NOT MERGE - Complete assertion for calc_broadcast
7a7ca65f9d core: Add missing unchecked accessors for NDArrayDimsProxy
c898639a63 core: Revert unpack_ndarray_tvars
1f6e7adc54 core: Add gen_if_callback and gen_if_expr_callback
d38c4f5ea8 core: Implement elementwise binary operators
Compare 5 commits »
f402e0cc73 core: Implement elementwise binary operators
a1ed5014d4 core: Add handling of ndarrays in gen_binop_expr
76fcd06162 core: Implement calculations for broadcasting ndarrays
1e71cb818f core: Extract codegen portion of gen_binop_expr
008a3ffe75 core: Add gen_for_callback_incrementing
Compare 11 commits »
42fcc0bbfa core: Implement calculations for broadcasting ndarrays
da5a1dd2de core: Delegate element arithmetic to gen_binop_expr
Compare 2 commits »
df789507d9 core: Delegate element arithmetic to gen_binop_expr
f9e23ea1ed core: Implement elementwise add/sub/mul operators
4ecc6c3d7b core: Extract codegen portion of gen_binop_expr
5f4806622a core: Add gen_for_callback_incrementing
79ad50e621 core: Split numpy into codegen and toplevel
Compare 7 commits »
derppening created branch enhance/issue-149-ndarray/basic-arithmetic-operators in M-Labs/nac3 2024-03-12 00:52:27 +08:00
derppening commented on pull request M-Labs/nac3#386 2024-03-08 12:15:22 +08:00
Implement ndarray.fill and ndarray.copy, miscellaneous bugs

We currently only include classes in PRIMITIVE_DEF_IDS. We can also include def ids for functions when we refactor that into an enum as suggested in #385.

derppening commented on pull request M-Labs/nac3#386 2024-03-07 15:00:23 +08:00
Implement ndarray.fill and ndarray.copy, miscellaneous bugs

Updated to inline match into one of the arguments.

derppening pushed to enhance/issue-149-ndarray at M-Labs/nac3 2024-03-07 14:59:59 +08:00
2edc1de0b6 standalone: Update ndarray.py to output all elements in ndarrays
c3b122acfc core: Implement `ndarray.copy`
a94927a11d core: Update __builtin_assume expressions
ebf86cd134 core: Use size_t for accessing array elements
cccd8f2d00 core: Fix ndarray_eye not preserving signness of offset
Compare 9 commits »
derppening created pull request M-Labs/nac3#386 2024-03-07 13:18:34 +08:00
Implement ndarray.fill and ndarray.copy, miscellaneous bugs
derppening pushed to enhance/issue-149-ndarray at M-Labs/nac3 2024-03-07 13:14:47 +08:00
e0d95bb0d8 standalone: Update ndarray.py to output all elements in ndarrays
a0a398ad56 core: Implement `ndarray.copy`
Compare 2 commits »
derppening pushed to enhance/issue-149-ndarray at M-Labs/nac3 2024-03-07 13:08:58 +08:00
8baeb7b902 standalone: Update ndarray.py to output all elements in ndarrays
30ccefb5e2 core: Implement `ndarray.copy`
583d0792f4 core: Update __builtin_assume expressions
2bf03ba39e core: Use size_t for accessing array elements
73f53b1852 core: Fix ndarray_eye not preserving signness of offset
Compare 10 commits »
derppening pushed to enhance/issue-149-ndarray at M-Labs/nac3 2024-03-04 23:58:11 +08:00
2317516cf6 core: Use tvars from ndarray for class definition
77de24ef74 core: Use BTreeMap for type variable mapping
Compare 2 commits »
derppening created branch enhance/issue-149-ndarray in M-Labs/nac3 2024-03-04 23:58:09 +08:00
derppening commented on pull request M-Labs/nac3#383 2024-03-01 22:46:51 +08:00
Use TObj to represent NDArrays and remove TNDArray

Added a new issue for that (#385)

derppening opened issue M-Labs/nac3#385 2024-03-01 22:46:06 +08:00
Refactor PrimitiveDefinitionIds into an enum