InTAR: Inter-task auto-reconfigurable accelerator design