Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: workarounds and disabled tests for cuda 12.4 #1774

Closed
wants to merge 1 commit into from

Conversation

havogt
Copy link
Contributor

@havogt havogt commented Mar 13, 2024

No description provided.

@@ -17,6 +17,6 @@ gridtools_add_icosahedral_test(stencil_on_edges SOURCES stencil_on_edges.cpp)
gridtools_add_icosahedral_test(stencil_fused SOURCES stencil_fused.cpp)
gridtools_add_icosahedral_test(stencil_on_neighedge_of_cells SOURCES stencil_on_neighedge_of_cells.cpp)
gridtools_add_icosahedral_test(stencil_on_vertices SOURCES stencil_on_vertices.cpp)
gridtools_add_icosahedral_test(curl SOURCES curl.cpp)
# gridtools_add_icosahedral_test(curl SOURCES curl.cpp)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this breaks in cicc phase

// enables workaround for CTAD/constexpr issues in CUDA 12.1, 12.2, 12.3 (https://github.com/GridTools/gridtools/issues/1766)
#if defined(__NVCC__) && (__CUDACC_VER_MAJOR__ == 12 && __CUDACC_VER_MINOR__ >= 1 && __CUDACC_VER_MINOR__ <= 4)
// enables workaround for CTAD/constexpr issues in CUDA 12.1, 12.2, 12.3, 12.4
// (https://github.com/GridTools/gridtools/issues/1766)
#define GT_NVCC_WORKAROUND_1766 1
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parts of this workaround are not needed in cuda 12.4, but then there are more issues that were not in cuda 12.3

@havogt
Copy link
Contributor Author

havogt commented Jun 18, 2024

In general CUDA 12.4 should be skipped if possible. The basic workarounds are enabled, but not all problems are fixed/can be fixed in the library.

@havogt havogt closed this Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant