| 152 | } |
| 153 | |
| 154 | void array::eval() { |
| 155 | // Ensure the array is ready to be read |
| 156 | if (status() == Status::unscheduled) { |
| 157 | mlx::core::eval({*this}); |
| 158 | } else { |
| 159 | wait(); |
| 160 | } |
| 161 | } |
| 162 | |
| 163 | bool array::is_tracer() const { |
| 164 | return (array_desc_->is_tracer && detail::in_tracing()) || |