guard all mem alloc/set in nd_reorder and fix a minor bug #897
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: Windows | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
WindowsRun: | |
runs-on: windows-2019 | |
steps: | |
- uses: Jimver/[email protected] | |
id: cuda-toolkit | |
with: | |
cuda: '12.3.2' | |
linux-local-args: '["--toolkit"]' | |
- run: nvcc -V | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Create build directory | |
run: mkdir ${{github.workspace}}/build | |
- name: Configure CMake | |
working-directory: ${{github.workspace}}/build | |
run: cmake ../ | |
- name: Run VS | |
run: cmake --build ${{github.workspace}}/build --clean-first --config Release -j 4 | |
#- name: Run Test | |
# working-directory: ${{github.workspace}}/build | |
# run: ctest --no-compress-output -T Test -C Release --output-on-failure |