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

Attempt to WAR CUB / RDC / MSVC issue #669

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

gevtushenko
Copy link
Collaborator

Description

Attempt to WAR CUB linkage issue in MSVC CI

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@gevtushenko gevtushenko requested review from a team as code owners November 7, 2023 16:35
@gevtushenko gevtushenko requested review from wmaxey and miscco and removed request for a team November 7, 2023 16:35
Copy link
Collaborator

@miscco miscco left a comment

Choose a reason for hiding this comment

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

I am amazed that this worked and the other tries not.

@@ -23,7 +23,14 @@ list(FILTER CUB_CUDA_ARCHITECTURES_RDC EXCLUDE REGEX "53|62|72|90")
message(STATUS "CUB_CUDA_ARCHITECTURES: ${CUB_CUDA_ARCHITECTURES}")
message(STATUS "CUB_CUDA_ARCHITECTURES_RDC: ${CUB_CUDA_ARCHITECTURES_RDC}")

option(CUB_ENABLE_RDC_TESTS "Enable tests that require separable compilation." ON)
if ("MSVC" STREQUAL "${CMAKE_CXX_COMPILER_ID}")
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if ("MSVC" STREQUAL "${CMAKE_CXX_COMPILER_ID}")
if (MSVC)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I didn't know there was a short version for this check, thank you! Since it's functionally equivalent and there are many usages of the long version, I'll keep the code as is, but will keep this in mind.

@gevtushenko gevtushenko merged commit 9a3df59 into NVIDIA:main Nov 8, 2023
519 checks passed
miscco pushed a commit to miscco/cccl that referenced this pull request Dec 13, 2023
jrhemstad pushed a commit to miscco/cccl that referenced this pull request Dec 13, 2023
jrhemstad added a commit that referenced this pull request Dec 13, 2023
* Add icc compiler to CI matrix (#1159)

* Attempt to WAR CUB / RDC / MSVC issue (#669)

---------

Co-authored-by: Jake Hemstad <[email protected]>
Co-authored-by: Georgii Evtushenko <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants