1
0
forked from M-Labs/nac3

Commit Graph

  • 3ac1083734 [core] codegen: Reimplement np_dot() for scalars and 1D David Mak 2024-12-19 12:32:18 +08:00
  • 66b8a5e01d [core] codegen/ndarray: Reimplement matmul David Mak 2024-12-19 12:21:52 +08:00
  • ebbadc2d74 [core] codegen: Reimplement ndarray cmpop David Mak 2024-12-19 10:46:24 +08:00
  • a2f1b25fd8 [core] codegen: Reimplement ndarray unary op David Mak 2024-12-19 10:37:17 +08:00
  • 59f19e29df [core] codegen: Reimplement ndarray binop David Mak 2024-12-19 10:25:35 +08:00
  • 6cbba8fdde [core] codegen: Reimplement builtin funcs to support strided ndarrays David Mak 2024-12-19 11:24:28 +08:00
  • e6dab25a57 [core] codegen/ndarray: Add NDArrayOut, broadcast_map, map David Mak 2024-12-18 17:15:51 +08:00
  • 2dc5e79a23 [core] codegen/ndarray: Implement subscript assignment David Mak 2024-12-18 16:44:57 +08:00
  • dcde1d9c87 [core] codegen/values/ndarray: Add more ScalarOrNDArray utils David Mak 2024-12-18 16:32:34 +08:00
  • 7375983e0c [core] codegen/ndarray: Implement np_transpose without axes argument David Mak 2024-12-18 16:22:59 +08:00
  • 43e440d2fd [core] codegen/ndarray: Reimplement broadcasting David Mak 2024-12-18 15:23:41 +08:00
  • 8d975b5ff3 [core] codegen/ndarray: Implement np_reshape David Mak 2024-12-18 11:40:23 +08:00
  • aae41eef6a [core] toplevel: Add view functions category David Mak 2024-12-18 11:05:45 +08:00
  • 132ba1942f [core] toplevel: Implement np_size David Mak 2024-12-18 10:58:38 +08:00
  • 12358c57b1 [core] codegen/ndarray: Implement np_{shape,strides} David Mak 2024-12-18 10:28:56 +08:00
  • 9ffa2d6552 [core] codegen/ndarray: Reimplement np_{copy,fill} David Mak 2024-12-18 09:53:00 +08:00
  • acb437919d [core] codegen/ndarray: Reimplement np_{eye,identity} David Mak 2024-12-17 18:01:12 +08:00
  • fadadd7505 [core] codegen/ndarray: Reimplement np_array() David Mak 2024-08-20 14:51:40 +08:00
  • 26f1428739 [core] codegen: Refactor len() David Mak 2024-12-17 14:21:13 +08:00
  • 5880f964bb [core] codegen/ndarray: Reimplement np_{zeros,ones,full,empty} David Mak 2024-12-16 15:26:18 +08:00
  • 7d02f5833d [core] codegen: Implement Tuple{Type,Value} David Mak 2024-12-16 13:56:08 +08:00
  • 822f9d33f8 [core] codegen: Refactor ListType to use derive(StructFields) David Mak 2024-12-13 16:05:54 +08:00
  • 805a9d23b3 [core] codegen: Add derive(Copy, Clone) to TypedArrayLikeAdapter David Mak 2025-01-03 13:58:46 +08:00
  • 1ffe2fcc7f [core] irrt: Minor reformat David Mak 2025-01-02 15:28:28 +08:00
  • 2f0847d77b [core] codegen/types: Refactor ProxyType David Mak 2024-12-17 16:48:31 +08:00
  • dc9efa9e8c [core] codegen/ndarray: Use IRRT for size() and indexing operations David Mak 2024-12-19 12:21:08 +08:00
  • 3c0ce3031f [core] codegen: Update raw_alloca to return PointerValue David Mak 2024-12-16 13:44:14 +08:00
  • d5e8df070a [core] Minor improvements to IRRT and add missing documentation David Mak 2024-12-17 16:10:00 +08:00
  • dc413dfa43 [core] codegen: Refactor TypedArrayLikeAdapter to use fn David Mak 2024-12-17 18:03:03 +08:00
  • 19122e2905 [core] codegen: Rename classes/functions for consistency David Mak 2024-12-13 16:35:34 +08:00
  • 318371a509 [core] irrt: Minor cleanup David Mak 2024-12-20 13:19:40 +08:00
  • 35e3042435 [core] Refactor/Remove redundant and unused constructs David Mak 2024-12-17 13:58:02 +08:00
  • 0e5940c49d [meta] Refactor itertools::{chain,enumerate,repeat_n} with std equiv David Mak 2024-12-18 10:43:24 +08:00
  • fbf0053c24 [core] irrt/string: Minor cleanup David Mak 2024-12-30 14:04:42 +08:00
  • 456aefa6ee clean up duplicate include Sébastien Bourdeauducq 2024-12-30 13:03:31 +08:00
  • 49a7469b4a use memcmp for string comparison Co-authored-by: ram <RAMTEJ001@e.ntu.edu.sg> Co-committed-by: ram <RAMTEJ001@e.ntu.edu.sg> ram 2024-12-30 13:02:09 +08:00
  • 0d5be81ef4 Merge branch feature/string-equality ram 2024-12-30 04:11:31 +00:00
  • dd8bf1a35e Resolve merge conflicts ram 2024-12-30 04:09:18 +00:00
  • cc18586363 Use llvm_usize for first GEP index, llvm_i32 for second GEP index ram 2024-12-16 14:35:09 +00:00
  • e1a2f1239d Implement 64 bit function call ram 2024-12-16 09:48:51 +00:00
  • 0b6a9bd89b Updated to use memcmp instead of strncmp ram 2024-12-13 15:43:50 +00:00
  • 1531b6cc98 cargo: update dependencies Sebastien Bourdeauducq 2024-12-13 19:42:01 +08:00
  • 9bbc40bbfa flake: update dependencies Sebastien Bourdeauducq 2024-12-13 19:41:52 +08:00
  • 790e56d106 msys2: update Sebastien Bourdeauducq 2024-12-13 19:39:39 +08:00
  • a00eb7969e [core] codegen: Implement matrix_power David Mak 2024-12-12 11:19:12 +08:00
  • 27a6f47330 [core] codegen: Implement construction of unsized ndarrays David Mak 2024-12-12 11:19:01 +08:00
  • 061747c67b [core] codegen: Implement NDArrayValue::atleast_nd David Mak 2024-12-12 11:14:48 +08:00
  • dc91d9e35a [core] codegen: Implement ScalarOrNDArray and use it in indexing David Mak 2024-12-10 16:43:57 +08:00
  • 438943ac6f [core] codegen: Implement indexing for NDArray David Mak 2024-12-10 16:32:44 +08:00
  • 678e56c95d [core] irrt: rename NDIndex to NDIndexInt lyken 2024-08-15 22:28:23 +08:00
  • fdfc80ca5f [core] codegen: Implement Slice{Type,Value}, RustSlice lyken 2024-08-24 15:37:45 +08:00
  • 8b3429d62a [artiq] Reimplement get_obj_value for strided ndarray David Mak 2024-11-29 17:59:07 +08:00
  • f4c5038b95 [artiq] codegen: Reimplement polymorphic_print for strided ndarray David Mak 2024-11-29 16:54:31 +08:00
  • ddd16738a6 [core] codegen: implement ndarray iterator NDIter David Mak 2024-11-27 17:29:40 +08:00
  • 44c49dc102 [artiq] codegen: Reimplement polymorphic_print for strided ndarray David Mak 2024-11-29 16:40:40 +08:00
  • e4bd376587 [core] codegen: Implement ContiguousNDArray David Mak 2024-11-28 12:45:17 +08:00
  • 44498f22f6 [core] codegen: Implement NDArray functions from a0a1f35b David Mak 2024-11-27 14:45:13 +08:00
  • 110416d07a [core] codegen/irrt: Add IRRT functions for strided-ndarray David Mak 2024-11-25 15:46:56 +08:00
  • 08a7d01a13 [core] Add itemsize and strides to NDArray struct David Mak 2024-11-27 16:06:16 +08:00
  • 9b0d37b1f0 Amend to follow formatting of other C++ files ram 2024-12-12 10:29:00 +00:00
  • 543a648af8 Edit function call to support 32-bit and 64-bit str ram 2024-12-12 10:10:39 +00:00
  • 780d33c8a7 Edit function call to support 32-bit and 64-bit str ram 2024-12-12 10:05:11 +00:00
  • 3cd36fddc3 [core] codegen/types: Add check_struct_type_matches_fields David Mak 2024-12-09 14:11:41 +08:00
  • 56a7a9e03d [core] codegen: Add helper functions for create+call functions David Mak 2024-11-25 15:32:53 +08:00
  • 574ae40f97 [core] codegen: Add call_memcpy_generic_array David Mak 2024-11-25 15:26:28 +08:00
  • aa293b6bea [core] codegen: Add type_aligned_alloca David Mak 2024-11-22 15:59:27 +08:00
  • eb4b881690 [core] Expose {types,values}::ndarray modules David Mak 2024-12-12 11:30:14 +08:00
  • e13d753329 Implement string equality operator using IRRT and optimise LLVM implementation ram 2024-12-11 17:14:11 +00:00
  • f2880dce03 Implement string equality comparison in irrt with relevant test cases backup-branch ram 2024-12-10 14:43:16 +00:00
  • 3d0a1d281c [core] Expose irrt::ndarray David Mak 2024-11-22 16:38:57 +08:00
  • ad67a99c8f [core] codegen: Cleanup builtin_fns.rs David Mak 2024-12-10 12:44:29 +08:00
  • 8e2b50df21 [core] codegen/ndarray: Cleanup David Mak 2024-11-28 11:07:14 +08:00
  • 06092ad29b [core] Move alloca and map_value of ProxyType to implementations David Mak 2024-11-27 17:54:00 +08:00
  • d62c6b95fd [core] codegen/types: Rename StructField::set_from_value David Mak 2024-11-25 15:55:18 +08:00
  • 95e29d9997 [core] codegen: Move ndarray type/value as a separate module David Mak 2024-11-27 14:41:41 +08:00
  • 536ed2146c [meta] Remove all mentions of build_int_cast David Mak 2024-11-29 17:19:43 +08:00
  • d484d44d95 [standalone] linalg: Fix function name in error message David Mak 2024-11-28 16:38:35 +08:00
  • ac978864f2 [meta] Apply clippy suggestions David Mak 2024-12-09 12:08:23 +08:00
  • 95254f8464 [meta] Update Cargo dependencies David Mak 2024-12-09 11:59:17 +08:00
  • c6e6b7bc95 Update error messages and remove redundant test cases ram 2024-12-06 08:41:07 +00:00
  • 914e3ba096 Remove commented evaluate_cmp_op function ram 2024-12-05 09:56:24 +00:00
  • 887f24093f Implement string equality and inequality comparisons in 'expr.rs', Implement nac3_str_eq in demo.c and Utilise nac3_str_eq for string comparisons. ram 2024-12-05 09:48:47 +00:00
  • 4211858273 Implement string equality operator in symbol_resolver and update tests ram 2024-12-03 18:17:58 +00:00
  • 399af54043 Implement string equality and inequality operators r4mp4g3r 2024-12-03 20:38:01 +08:00
  • 964945d244 string_store: update embedding map after compilation occheung 2024-12-03 16:45:46 +08:00
  • ae09a0d444 exceptions: preallocate in NAC3 instead occheung 2024-12-03 16:45:05 +08:00
  • 2cfb8baae5 [artiq] Reimplement get_obj_value for strided ndarray ndstrides-neo-next David Mak 2024-11-29 17:59:07 +08:00
  • b40e9bca28 [artiq] codegen: Reimplement polymorphic_print for strided ndarray David Mak 2024-11-29 16:54:31 +08:00
  • bbc68b8b1a [core] codegen: implement ndarray iterator NDIter David Mak 2024-11-27 17:29:40 +08:00
  • 73b0f2bcc9 [artiq] codegen: Reimplement polymorphic_print for strided ndarray David Mak 2024-11-29 16:40:40 +08:00
  • e965a7c7ce [core] codegen: Implement ContiguousNDArray David Mak 2024-11-28 12:45:17 +08:00
  • 57da0f67d1 [core] codegen: Implement NDArray functions from a0a1f35b David Mak 2024-11-27 14:45:13 +08:00
  • 624e943cd6 [core] codegen/irrt: Add IRRT functions for strided-ndarray David Mak 2024-11-25 15:46:56 +08:00
  • a99ae4828a [core] Add itemsize and strides to NDArray struct David Mak 2024-11-27 16:06:16 +08:00
  • acfa81ff60 [core] codegen: Add helper functions for create+call functions David Mak 2024-11-25 15:32:53 +08:00
  • 35ef3c3f27 [core] codegen: Add call_memcpy_generic_array David Mak 2024-11-25 15:26:28 +08:00
  • cb6faeabb6 [core] Add type_aligned_alloca David Mak 2024-11-22 15:59:27 +08:00
  • 47fba32926 [core] codegen/types: Add docs for NDArrayType::fields David Mak 2024-11-25 15:58:42 +08:00
  • 4cfa848399 [core] Expose irrt::ndarray David Mak 2024-11-22 16:38:57 +08:00
  • 355c051886 [core] codegen/ndarray: Cleanup David Mak 2024-11-28 11:07:14 +08:00