| 455 | } |
| 456 | |
| 457 | Tensor Tensor::cuda() { |
| 458 | if (kCUDA == impl_->device()) { return *this; } |
| 459 | return to(kCUDA); |
| 460 | } |
| 461 | |
| 462 | Tensor Tensor::equal(Tensor v) { |
| 463 | return Context::instance().buildOpAndSubmitTask(OpTypes::kEqual, aops::EqualOpOptions{}, {*this, std::move(v)})[0]; |
no test coverage detected