Skip to content

Commit

Permalink
CI: remove Ubuntu 18.04 and 20.04 CUDA builds
Browse files Browse the repository at this point in the history
These Ubuntu versions don't seem to support CUDA C++17 by default, so
removing them for now.

Also need to work around an issue that nvcc has with State.hpp.
  • Loading branch information
GPMueller committed Mar 24, 2023
1 parent 6ef195c commit d43542c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -262,8 +262,8 @@ jobs:
matrix:
config:
- os: ubuntu-22.04
- os: ubuntu-20.04
- os: ubuntu-18.04
# - os: ubuntu-20.04 # does not seem to support CUDA C++17
# - os: ubuntu-18.04 # does not seem to support CUDA C++17
env:
BUILD_TYPE: Release
CMAKE_FLAGS: -DSPIRIT_UI_USE_IMGUI=OFF -DSPIRIT_UI_CXX_USE_QT=OFF -DSPIRIT_USE_CUDA=ON -DSPIRIT_CUDA_ARCH=sm_70
Expand Down
4 changes: 2 additions & 2 deletions core/include/data/State.hpp
Expand Up @@ -38,8 +38,8 @@ struct State
std::shared_ptr<Engine::Method> method_chain{};

// Timepoint of creation
std::chrono::system_clock::time_point datetime_creation{ std::chrono::system_clock::now() };
std::string datetime_creation_string{ Utility::Timing::TimePointToString( datetime_creation ) };
std::chrono::system_clock::time_point datetime_creation = std::chrono::system_clock::now();
std::string datetime_creation_string = Utility::Timing::TimePointToString( datetime_creation );

// Config file at creation
std::string config_file{ "" };
Expand Down

0 comments on commit d43542c

Please sign in to comment.