1
0
forked from M-Labs/nac3

Commit Graph

  • 5f143d2f2f core/ndstrides: implement unary op lyken 2024-08-21 10:08:30 +08:00
  • f5698a9eed core/ndstrides: implement binop lyken 2024-08-20 17:31:55 +08:00
  • cb8cea4286 core/ndstrides: add NDArrayOut, broadcast_map and map lyken 2024-08-20 17:03:23 +08:00
  • ccc8ce5886 core/ndstrides: implement subscript assignment lyken 2024-08-21 12:35:22 +08:00
  • 48ce2d6c8a core/ndstrides: add more ScalarOrNDArray and NDArrayObject utils lyken 2024-08-20 16:47:57 +08:00
  • 7a7a67b522 core/ndstrides: implement np_transpose() (no axes argument) lyken 2024-08-20 16:35:20 +08:00
  • f37b092947 core/ndstrides: implement broadcasting & np_broadcast_to() lyken 2024-08-22 09:59:58 +08:00
  • 813dad4ed0 core/ndstrides: implement np_reshape() lyken 2024-08-20 16:24:45 +08:00
  • 48d7032b5e core: categorize np_{transpose,reshape} as 'view functions' lyken 2024-08-20 16:17:52 +08:00
  • 6fb988a1e4 core/ndstrides: implement np_size() lyken 2024-08-20 16:03:48 +08:00
  • 3ea5ffe5ca core/ndstrides: implement np_shape() and np_strides() lyken 2024-08-20 15:29:10 +08:00
  • fb11b91d09 core/ndstrides: implement ndarray.fill() and .copy() lyken 2024-08-20 15:18:07 +08:00
  • 9742f795d5 core/ndstrides: implement np_identity() and np_eye() lyken 2024-08-20 15:17:10 +08:00
  • b158ec80b4 core/ndstrides: implement np_array() lyken 2024-08-20 15:10:39 +08:00
  • da23bb1417 core/irrt: add List lyken 2024-08-20 14:51:40 +08:00
  • 9c5273ae09 core/ndstrides: add NDArrayObject::atleast_nd lyken 2024-08-20 15:02:42 +08:00
  • 3d734aef17 core/ndstrides: add NDArrayObject::make_copy lyken 2024-08-20 15:00:27 +08:00
  • 510dbfc70e core/ndstrides: implement ndarray indexing lyken 2024-08-21 13:43:07 +08:00
  • fda7f8d827 core/irrt: rename NDIndex to NDIndexInt lyken 2024-08-15 22:28:23 +08:00
  • 5537645395 core/irrt: add Slice and Range lyken 2024-08-24 15:37:45 +08:00
  • ad5afb52c4 core/ndstrides: implement len(ndarray) & refactor len() lyken 2024-08-20 12:29:31 +08:00
  • 3a241acc9c core/ndstrides: implement np_{zeros,ones,full,empty} lyken 2024-08-20 12:25:01 +08:00
  • b41cc79c05 core/model: add util::gen_for_model lyken 2024-08-20 12:10:50 +08:00
  • 2c276fa75e core/object: add ListObject and TupleObject lyken 2024-08-20 12:08:10 +08:00
  • f5827dae24 core/ndstrides: implement ndarray iterator NDIter lyken 2024-08-20 12:00:31 +08:00
  • a531d0127a core/ndstrides: introduce NDArray lyken 2024-08-20 11:38:05 +08:00
  • 3d6565d0bf core/toplevel/helper: add {extract,create}_ndims lyken 2024-08-20 11:32:01 +08:00
  • 56f44086d6 core/object: introduce object lyken 2024-08-20 11:28:20 +08:00
  • 714165e00d core/model: renaming and add notes on upgrading Ptr to LLVM 15 lyken 2024-08-25 14:21:46 +08:00
  • 58a3b100b4 core/model: introduce models lyken 2024-08-15 20:59:19 +08:00
  • f169d37074 core/irrt/exceptions: add debug utils with exceptions lyken 2024-08-15 22:07:38 +08:00
  • cf34002179 core/irrt/exceptions: allow irrt to raise exceptions lyken 2024-08-15 21:50:45 +08:00
  • 115fff9e65 core/irrt: build.rs capture IR defined constants lyken 2024-07-13 14:02:50 +08:00
  • 342206989e core/irrt: build.rs capture IR defined types lyken 2024-07-09 21:02:20 +08:00
  • e9629a6688 core/irrt: split irrt.cpp into headers lyken 2024-08-15 20:09:01 +08:00
  • 331ab8a946 core/irrt: reformat lyken 2024-08-15 20:00:54 +08:00
  • 601b47a30c core: add .clang-format lyken 2024-07-22 10:55:41 +08:00
  • 8f726ecbfa core/irrt: comment build.rs & move irrt to nac3core/irrt lyken 2024-07-12 21:52:55 +08:00
  • d9f96dab33 [core] Add codegen_unreachable derppening 2024-08-23 13:10:55 +08:00
  • c5ae0e7c36 [standalone] Add tests for tuple equality derppening 2024-08-21 15:39:48 +08:00
  • b8dab6cf7c [standalone] Add tests for string equality derppening 2024-08-21 16:24:05 +08:00
  • 4d80ba38b7 [core] codegen/expr: Implement comparison of tuples derppening 2024-08-21 15:39:23 +08:00
  • 33929bda24 [core] typecheck/typedef: Add support for tuple methods derppening 2024-08-21 13:52:24 +08:00
  • a8e92212c0 [core] codegen/expr: Implement string equality derppening 2024-08-21 16:23:48 +08:00
  • 908271014a [core] typecheck/magic_methods: Add equality methods to string derppening 2024-08-21 16:22:43 +08:00
  • c407622f5c [core] codegen/expr: Add compilation error for unsupported cmpop derppening 2024-08-20 11:29:51 +08:00
  • d7952d0629 [core] codegen/expr: Fix assertions not generated for -O0 derppening 2024-08-20 11:29:19 +08:00
  • ca1395aed6 [core] codegen: Remove redundant return derppening 2024-08-21 14:42:44 +08:00
  • 7799aa4987 [meta] Do not specify rev in dependency version derppening 2024-08-21 13:50:58 +08:00
  • 76016a26ad [meta] Apply clippy suggestions derppening 2024-08-20 11:29:03 +08:00
  • 8532bf5206 standalone: add missing test_ndarray_ceil() run lyken 2024-08-21 11:39:00 +08:00
  • 2cf64d8608 apply clippy comment changes lyken 2024-08-21 11:10:52 +08:00
  • 706759adb2 artiq: apply cargo fmt lyken 2024-08-21 11:11:35 +08:00
  • b90cf2300b core/fix: add missing lifetime in gen_for* lyken 2024-08-15 23:44:33 +08:00
  • 0fc26df29e flake: update nixpkgs sb10q 2024-08-19 23:53:15 +08:00
  • 0b074c2cf2 [artiq] symbol_resolver: Set private linkage for constants derppening 2024-08-19 14:17:31 +08:00
  • a0f6961e0e cargo: update dependencies sb10q 2024-08-19 13:15:03 +08:00
  • b1c5c2e1d4 [artiq] Fix RPC of ndarrays to host derppening 2024-08-13 17:01:12 +08:00
  • 69320a6cf1 [artiq] Fix LLVM representation of strings derppening 2024-08-13 16:24:17 +08:00
  • 9e0601837a core: Add compile-time feature to disable escape analysis derppening 2024-07-12 14:00:46 +08:00
  • 432c81a500 core: update insta after #489 lyken 2024-08-13 15:27:06 +08:00
  • 6beff7a268 [artiq] Implement core_log and rtio_log in terms of polymorphic_print derppening 2024-08-12 20:25:18 +08:00
  • 6ca7aecd4a [artiq] Add core_log and rtio_log function declarations derppening 2024-08-12 20:08:52 +08:00
  • 8fd7216243 [core] toplevel/composer: Add lateinit_builtins derppening 2024-08-12 18:00:23 +08:00
  • 4f5e417012 [core] codegen: Add function to get format constants for integers derppening 2024-08-12 17:54:01 +08:00
  • a0614bad83 [core] codegen/expr: Make gen_string return StructValue derppening 2024-08-12 20:17:41 +08:00
  • 5539d144ed [core] Add CodeGenContext::build_in_bounds_gep_and_load derppening 2024-08-12 17:46:47 +08:00
  • b3891b9a0d standalone: Fix several issues post script refactoring derppening 2024-08-09 12:26:59 +08:00
  • 6fb8939179 [meta] Update dependencies derppening 2024-08-12 12:39:01 +08:00
  • 973dc5041a core/typecheck: Support tuple arg type in len() lyken 2024-08-13 10:27:27 +08:00
  • d0da688aa7 standalone: Add tuple len test derppening 2024-08-05 11:48:32 +08:00
  • 12c4e1cf48 core/toplevel/builtins: Add support for len() on tuples derppening 2024-07-16 19:17:22 +08:00
  • 9b988647ed core/toplevel/builtins: Extract len() into builtin function derppening 2024-07-16 19:01:38 +08:00
  • 35a7cecc12 core/typecheck: fix np_array ndmin bug lyken 2024-08-13 12:50:04 +08:00
  • 7e3d87f841 core/codegen: fix bug in call_ceil function lyken 2024-08-07 16:40:55 +08:00
  • ac0d83ef98 standalone: Add vararg.py derppening 2024-07-09 14:48:30 +08:00
  • 3ff6db1a29 core/codegen: Add va_start and va_end intrinsics derppening 2024-07-31 15:32:12 +08:00
  • d7b806afb4 core/codegen: Implement support for va_info on supported architectures derppening 2024-07-30 17:00:08 +08:00
  • fac60c3974 core/codegen: Handle vararg in function generation derppening 2024-07-16 19:36:08 +08:00
  • f5fb504a15 core/codegen/expr: Implement vararg handling in gen_call derppening 2024-07-11 18:01:48 +08:00
  • faa3bb97ad core/typecheck/typedef: Add vararg to Unifier::stringify derppening 2024-07-19 16:08:46 +08:00
  • 6a64c9d1de core/typecheck/typedef: Add is_vararg_ctx to TTuple derppening 2024-07-10 12:27:59 +08:00
  • 3dc8498202 core/typecheck/typedef: Handle vararg parameters in unify_call derppening 2024-07-10 10:29:05 +08:00
  • cbf79c5e9c core/typecheck/typedef: Add is_vararg to FuncArg, ConcreteFuncArg derppening 2024-07-09 15:55:11 +08:00
  • b8aa17bf8c core/toplevel/composer: Add parsing for vararg parameter derppening 2024-07-09 15:50:38 +08:00
  • f5b998cd9c core/codegen: Remove unnecessary mut from get_llvm*_type derppening 2024-08-05 16:11:58 +08:00
  • c36f85ecb9 meta: Update dependencies derppening 2024-08-05 12:15:27 +08:00
  • 3a8c385e01 core/typecheck: fix missing ExprKind::Asterisk in fix_assignment_target_context lyken 2024-08-05 11:19:32 +08:00
  • 221de4d06a core/codegen: add missing comment lyken 2024-08-05 11:18:45 +08:00
  • fb9fe8edf2 core: reimplement assignment type inference and codegen lyken 2024-08-02 15:01:38 +08:00
  • 894083c6a3 core/codegen: refactor gen_{for,comprehension} to match on iter type lyken 2024-08-01 12:25:10 +08:00
  • 669c6aca6b clean up and fix 32-bit demos sb10q 2024-08-05 19:04:25 +08:00
  • 63d2b49b09 core: remove np_linalg_matmul abdul124 2024-08-01 18:43:06 +08:00
  • bf709889c4 standalone/demo: separate linalg functions from main workspace abdul124 2024-08-01 18:35:03 +08:00
  • 1c72698d02 core: add np_linalg_det and np_linalg_matrix_power functions abdul124 2024-07-31 18:02:54 +08:00
  • 54f883f0a5 core: implement np_dot using LLVM_IR abdul124 2024-07-31 15:53:51 +08:00
  • 4a6845dac6 standalone: add np.transpose and np.reshape functions abdul124 2024-07-31 13:17:06 +08:00
  • 00236f48bc core: add np.transpose and np.reshape functions abdul124 2024-07-31 13:16:42 +08:00
  • a3e6bb2292 core/helper: add linalg section abdul124 2024-07-29 17:30:09 +08:00
  • 17171065b1 standalone: link linalg at runtime abdul124 2024-07-29 17:25:52 +08:00