Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 21, 2024. It is now read-only.
/thrustPublic archive

Initial build system updates for monorepo#1946

Draft
alliepiper wants to merge14 commits intoNVIDIA:main
base:main
Choose a base branch
Loading
fromalliepiper:monorepo_submodules

Conversation

@alliepiper
Copy link
Collaborator

No description provided.

@alliepiperalliepiper marked this pull request as draftMay 26, 2023 14:53
@alliepiperalliepiper mentioned this pull requestMay 26, 2023
28 tasks

# This must be done before any languages are enabled:
if (THRUST_TOPLEVEL_PROJECT)
cmake_minimum_required(VERSION 3.21)
Copy link
Collaborator

Choose a reason for hiding this comment

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

The nameThrustCompilerHacks doesn't really make sense anymore.ThrustSetCUDAHostCompiler makes it clear what is being done.

${CMAKE_CUDA14_COMPILE_FEATURES}
${CMAKE_CUDA17_COMPILE_FEATURES}
${CMAKE_CUDA20_COMPILE_FEATURES}
set(tmp"${CMAKE_CUDA_HOST_COMPILER}")
Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

We can remove this check from all projects.

Copy link
Collaborator

Choose a reason for hiding this comment

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

In this file, I think we should update theset(thrust_libcudacxx_version XXX) to just always be the same as the Thrust version itself.

Now that we will be synchronizing versions across components, we aren't going to try and support mix&match different versions of components.

target_compile_options(thrust.compiler_interfaceINTERFACE
# If using CUDA w/ NVCC...
$<$<AND:$<COMPILE_LANGUAGE:CUDA>,$<CUDA_COMPILER_ID:NVIDIA>>:-Wno-deprecated-gpu-targets>
$<$<COMPILE_LANG_AND_ID:CUDA,NVIDIA>:-diag-suppress 128>
Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

Is this still needed? Add a comment if so.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Line 13 is clobbering theCMAKE_CUDA_FLAGS argument, which prevents specifying-DCMAKE_CUDA_FLAGS="-DTHRUST_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT"

This allows the install rules to be generated for all projects evenwhen the dev builds are disabled.
These are now handled at the CCCL level, using newer and morerobust techniques.
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.

Reviewers

2 more reviewers

@jrhemstadjrhemstadjrhemstad left review comments

@robertmaynardrobertmaynardrobertmaynard requested changes

Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@alliepiper@robertmaynard@jrhemstad

[8]ページ先頭

©2009-2025 Movatter.jp