-
Notifications
You must be signed in to change notification settings - Fork 58
Commit 05a4da5
Add optional serde serialization support
- Update ci to run serde tests
- Add serialization support for Enums except the enum `arrayfire::Scalar`
- Structs with serde support added
- [x] Array
- [x] Dim4
- [x] Seq
- [x] RandomEngine
- Structs without serde support
- Features - currently not possible as `af_features` can't be recreated
from individual `af_arrays` with current upstream API
- Indexer - not possible with current API. Also, any subarray when fetched
to host for serialization results in separate owned copy this making serde
support for this unnecessary.
- Callback
- Event
- Window1 parent 97d097b commit 05a4da5
File tree
8 files changed
+275
-4
lines changed- .github/workflows
- src/core
8 files changed
+275
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | - | ||
52 | - | ||
51 | + | ||
52 | + | ||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | + | ||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
56 | + | ||
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
60 | + | ||
61 | + | ||
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | - | ||
19 | + | ||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
851 | 851 | | |
852 | 852 | | |
853 | 853 | | |
854 | + | ||
855 | + | ||
856 | + | ||
857 | + | ||
858 | + | ||
859 | + | ||
860 | + | ||
861 | + | ||
862 | + | ||
863 | + | ||
864 | + | ||
865 | + | ||
866 | + | ||
867 | + | ||
868 | + | ||
869 | + | ||
870 | + | ||
871 | + | ||
872 | + | ||
873 | + | ||
874 | + | ||
875 | + | ||
876 | + | ||
877 | + | ||
878 | + | ||
879 | + | ||
880 | + | ||
881 | + | ||
882 | + | ||
883 | + | ||
884 | + | ||
885 | + | ||
886 | + | ||
887 | + | ||
888 | + | ||
889 | + | ||
890 | + | ||
891 | + | ||
892 | + | ||
893 | + | ||
894 | + | ||
895 | + | ||
896 | + | ||
897 | + | ||
898 | + | ||
899 | + | ||
900 | + | ||
901 | + | ||
902 | + | ||
903 | + | ||
904 | + | ||
905 | + | ||
906 | + | ||
907 | + | ||
908 | + | ||
909 | + | ||
910 | + | ||
911 | + | ||
912 | + | ||
913 | + | ||
914 | + | ||
915 | + | ||
916 | + | ||
917 | + | ||
918 | + | ||
919 | + | ||
920 | + | ||
854 | 921 | | |
855 | 922 | | |
856 | 923 | | |
| |||
1082 | 1149 | | |
1083 | 1150 | | |
1084 | 1151 | | |
1152 | + | ||
1153 | + | ||
1154 | + | ||
1155 | + | ||
1156 | + | ||
1157 | + | ||
1158 | + | ||
1159 | + | ||
1160 | + | ||
1161 | + | ||
1162 | + | ||
1163 | + | ||
1164 | + | ||
1165 | + | ||
1166 | + | ||
1167 | + | ||
1168 | + | ||
1169 | + | ||
1170 | + | ||
1171 | + | ||
1172 | + | ||
1173 | + | ||
1174 | + | ||
1175 | + | ||
1176 | + | ||
1177 | + | ||
1178 | + | ||
1179 | + | ||
1180 | + | ||
1181 | + | ||
1182 | + | ||
1183 | + | ||
1184 | + | ||
1085 | 1185 | | |
0 commit comments