const MemoryDescriptorMap & mem_map() const
Get memory descriptor registry.
ITensorInfo * create_auxiliary_tensor(const ITensorInfo &tensor_info)
Create an auxiliary (see MemoryType) tensor info and save it.
Internal implementation of workload context.
void register_user_tensor(std::unique_ptr< TensorInfo > &&tensor_info)
Set a new ID and register the user tensor info.
const CLCompileContext * cl_compile_context() const
Get CL compile context.
Impl(GpuLanguage gpu_language, CLCompileContext *cl_compile_ctx)
Constructor.
ITensorInfo * create_virtual_tensor()
Create a virtual (see MemoryType) tensor info and save it.
ITensorInfo * get_tensor_info(ITensorInfo::Id id)
Get tensor info created by this context, from id.
GpuLanguage gpu_language() const
Get target GPU language.
Impl & operator=(Impl &)=default
Assignment.