| 32 | namespace opencl |
| 33 | { |
| 34 | ClTensor::ClTensor(IContext *ctx, const AclTensorDescriptor &desc) : ITensorV2(ctx), _legacy_tensor() |
| 35 | { |
| 36 | ARM_COMPUTE_ASSERT((ctx != nullptr) && (ctx->type() == Target::GpuOcl)); |
| 37 | _legacy_tensor = std::make_unique<CLTensor>(); |
| 38 | _legacy_tensor->allocator()->init(arm_compute::detail::convert_to_legacy_tensor_info(desc)); |
| 39 | } |
| 40 | |
| 41 | void *ClTensor::map() |
| 42 | { |
nothing calls this directly
no test coverage detected