Nikolay Chirkov and Copybara-Service
1124569c29
Tensor: Make tensor not requiring "-x objective-c++" option.
...
In this case tensor.h is compiled differently for C++ and Objective-C++ that violates ODR (once definition rule). Tensor has no virtual methods conditionally compiled but some Metal-related data members. Instead, unique_ptr to MtlResources that is declared as forward structure is unconditionally defined in the tensor class. MtlResources is defined differently in cc-file only that compiled just once per project so no ODR violation is here.
PiperOrigin-RevId: 504029286
2023-01-23 11:00:35 -08:00
..
2022-11-07 17:23:46 -08:00
2022-09-28 21:32:36 +00:00
2022-11-18 08:47:09 -08:00
2022-11-18 08:47:09 -08:00
2022-10-17 13:30:11 -07:00
2022-10-14 15:31:31 -07:00
2022-10-14 15:31:31 -07:00
2023-01-23 11:00:35 -08:00
2022-09-28 21:32:36 +00:00
2022-09-28 21:32:36 +00:00
2022-09-28 21:32:36 +00:00
2022-11-21 14:39:56 -08:00
2022-11-01 18:43:46 -07:00
2022-05-05 19:57:20 +00:00
2023-01-05 07:58:07 -08:00
2021-02-27 03:30:05 -05:00
2022-12-20 11:04:42 -08:00
2022-03-21 12:12:39 -07:00
2022-03-21 12:12:39 -07:00
2022-03-21 12:12:39 -07:00
2022-03-21 12:12:39 -07:00
2023-01-23 11:00:35 -08:00
2021-02-27 03:30:05 -05:00
2022-11-21 15:47:45 -08:00
2022-03-21 12:12:39 -07:00
2022-11-01 18:43:46 -07:00
2022-11-07 17:23:46 -08:00
2022-11-21 13:06:47 -08:00
2022-11-01 18:43:46 -07:00
2022-11-13 07:10:04 -08:00
2022-06-28 12:11:05 +00:00
2022-11-28 16:52:16 -08:00
2022-11-18 12:44:55 -08:00
2023-01-23 11:00:35 -08:00
2022-09-06 21:46:17 +00:00
2022-09-09 01:35:36 +00:00
2022-09-07 17:47:04 +00:00
2022-11-13 07:10:04 -08:00
2022-09-07 17:47:04 +00:00
2022-09-07 17:47:04 +00:00
2022-12-07 10:52:17 -08:00
2022-11-01 17:50:39 -07:00
2022-09-07 17:47:04 +00:00
2022-11-01 17:50:39 -07:00
2022-09-06 21:46:17 +00:00
2022-09-06 21:46:17 +00:00
2022-09-06 21:46:17 +00:00
2021-09-13 21:35:51 -04:00
2022-10-19 10:31:21 -07:00
2022-10-14 16:18:20 -07:00
2022-10-14 16:18:20 -07:00
2021-03-31 20:33:42 -04:00
2023-01-23 11:00:35 -08:00
2020-11-04 19:09:58 -05:00
2022-10-08 09:44:08 -07:00
2022-10-08 09:44:08 -07:00
2022-10-28 13:19:43 -07:00
2022-10-28 13:19:43 -07:00
2022-10-28 13:19:43 -07:00
2022-10-25 12:53:39 -07:00
2022-10-25 12:53:39 -07:00
2022-10-25 12:53:39 -07:00
2023-01-23 11:00:35 -08:00
2022-05-05 19:57:20 +00:00
2021-03-31 20:33:42 -04:00
2022-09-06 21:46:17 +00:00
2020-12-09 22:43:33 -05:00
2022-09-06 21:46:17 +00:00
2020-12-09 22:43:33 -05:00
2023-01-23 11:00:35 -08:00
2021-06-03 17:04:35 -04:00
2022-10-18 08:28:53 -07:00
2022-09-28 16:47:33 -07:00
2022-10-19 09:20:38 -07:00
2022-10-14 21:38:28 -07:00