index 35842cc069e121b2c4c597fb9d9034ade88ea1bc..704b1f7162bbd6416e4d8b04b6b983d322981fc7 100644 (file)
#include "tidl_create_params.h" // for TIDL types
#include "execution_object.h"
-namespace tidl {
+namespace tinn {
// One instance across all devices available in the context
class ExecutorImpl
{
public:
- ExecutorImpl(DeviceType core_type, const DeviceIds& ids);
+ ExecutorImpl(DeviceType core_type, const DeviceIds& ids,
+ int layersGroupId);
~ExecutorImpl() { Cleanup(); }
bool Initialize(const Configuration& configuration);
ExecutionObjects execution_objects_m;
private:
- void InitializeNetworkCreateParam(TIDL_CreateParams *cp);
+ void InitializeNetworkCreateParam(TIDL_CreateParams *cp,
+ const Configuration& configuration);
bool InitializeNetworkParams(TIDL_CreateParams *cp);
void Cleanup();
up_malloc_ddr<char> shared_networkparam_heap_m;
DeviceIds device_ids_m;
DeviceType core_type_m;
+ int layers_group_id_m;
};
-} // namespace tidl
+} // namespace tinn