Build Kernels For Task-based DNN Inference Runtime