Skip to content

Conversation

@robinson96
Copy link
Contributor

Add initial support for using CMAKE_HIP_COMPILER in cmake versions 3.21 and greater.

Differentiate between C_LIST and CXX_LIST for blt_split_source_list_by_language. (HIPCC will error if it's a c file, while cuda will just treat it as a C++ file).

SetupHIP now enables the hip language.

Add option BLT_HIP_REMOVE_HIP_COMPILE_OPTIONS to remove flags associated with pre-installed hip::device and hip-lang::device targets that are incompatible with hipcc.

@robinson96 robinson96 changed the title Feature/probinso/hipcc support WIP: Feature/probinso/hipcc support Aug 30, 2022
if(${_hip_runtime_index} GREATER -1)
set(_depends_on_hip_runtime TRUE)
endif()
message("DEPENDS ON HIP ${_depends_on_hip} DEPENDS_ON_HIP_RUNTIME ${_depends_on_hip_runtime}\n\t ${arg_DEPENDS_ON}")
Copy link
Member

Choose a reason for hiding this comment

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

Is this a debug message? There are a few others like it as well.

set_source_files_properties( ${_hip_sources} PROPERTIES
LANGUAGE HIP)

# if (HIP_SEPARABLE_COMPILATION)
Copy link
Member

Choose a reason for hiding this comment

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

Can you document why this isn't being used?

chapman39 and others added 27 commits September 29, 2022 10:53
… github.com:LLNL/blt into feature/chapman39/print_target_properties_recursive
…erties_recursive

Print target properties recursively and with regular expressions
add macro to assist in checking if code snippets compile
Add BLT_CMAKE_IMPLICIT_LINK_LIBRARIES_EXCLUDE variable
V0.5.2 Release Candidate
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.

8 participants