fix(kernel): 没有引用的输出张量也要分配,但计算完后立即释放 #1177
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test cpu | |
on: | |
push: | |
paths-ignore: | |
- '**.md' | |
- 'LICENSE' | |
pull_request: | |
paths: | |
- '**.md' | |
- 'LICENSE' | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
type: [debug, release] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: build ${{ matrix.type }} | |
run: make TYPE=${{ matrix.type }} | |
- name: test ${{ matrix.type }} | |
run: make test TYPE=${{ matrix.type }} |