From 2fe45375c1fdf3b43a4523eaed2155fabb9dd772 Mon Sep 17 00:00:00 2001 From: pciolkosz Date: Sun, 19 Jan 2025 02:24:59 -0800 Subject: [PATCH] Fix CI issues (#3443) --- .../cuda/experimental/__hierarchy/level_dimensions.cuh | 2 +- cudax/test/green_context/green_ctx_smoke.cu | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/cudax/include/cuda/experimental/__hierarchy/level_dimensions.cuh b/cudax/include/cuda/experimental/__hierarchy/level_dimensions.cuh index f46c581ceb9..5c1fd9cab59 100644 --- a/cudax/include/cuda/experimental/__hierarchy/level_dimensions.cuh +++ b/cudax/include/cuda/experimental/__hierarchy/level_dimensions.cuh @@ -118,7 +118,7 @@ struct level_dimensions using level_type = Level; // Needs alignas to work around an issue with tuple - alignas(16) const Dimensions dims; // Unit for dimensions is implicit + alignas(16) Dimensions dims; // Unit for dimensions is implicit _CCCL_HOST_DEVICE constexpr level_dimensions(const Dimensions& d) : dims(d) diff --git a/cudax/test/green_context/green_ctx_smoke.cu b/cudax/test/green_context/green_ctx_smoke.cu index e9f2952a1e1..b353cb2e3c1 100644 --- a/cudax/test/green_context/green_ctx_smoke.cu +++ b/cudax/test/green_context/green_ctx_smoke.cu @@ -60,4 +60,10 @@ TEST_CASE("Green context", "[green_context]") } } } +#else +// For some reason CI fails with empty test, add a dummy test case +TEST_CASE("Dummy test case") +{ + CUDAX_REQUIRE(1 == 1); +} #endif // CUDART_VERSION >= 12050