Skip to content

use pow instead of sqr as it is defined in std #21

use pow instead of sqr as it is defined in std

use pow instead of sqr as it is defined in std #21

name: Windows GPU tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: [self-hosted, Windows, GPU]
steps:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
- name: Display the path
run: echo ${env:PATH}
- name: test compiler
run: cl
- name: gpu info
run: nvidia-smi
- name: nvidia compiler info
run: nvcc --version
- name: setup cmake
run: cmake --preset debug
- name: build
run: cmake --build --preset debug
- name: run ctest
run: ctest --preset debug