!2135 merge gpu into br_schedule
[scheduler] fixed cpu and gpu compile pipeline
Created-by: corleoneliu
Commit-by: liuchao
Merged-by: corleoneliu
Description: <!-- Thanks for sending a pull request! Here are some tips for you:
If this is your first time, please read our contributor guidelines: https://github.com/mindspore-ai/mindspore/blob/master/CONTRIBUTING.md
-->
**What type of PR is this?**
> Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespaces from that line:
>
/kind bug</br>
> /kind task</br>
> /kind feature</br>
**What does this PR do / why do we need it**:
fixed cpu and gpu compile pipeline and clean code
**Which issue(s) this PR fixes**:
<!--
*Automatically closes linked issue when PR is merged.
Usage: Fixes #<issue number>, or Fixes (paste link of issue).
-->
Fixes [#417](https://gitcode.com/mindspore/akg/issues/417)
**Special notes for your reviewers**:
See merge request: mindspore/akg!2135