-
Notifications
You must be signed in to change notification settings - Fork 41
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
Reorganize hipsparse header #461
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no strong opinions on the end goal, but there's a few things to consider changing in the implementation details.
@@ -35,8 +35,7 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/include/hipsparse-version.h.in" | |||
"${PROJECT_BINARY_DIR}/include/hipsparse/hipsparse-version.h") | |||
|
|||
# Copy Header files to build directory | |||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/include/hipsparse.h" | |||
"${PROJECT_BINARY_DIR}/include/hipsparse/hipsparse.h" COPYONLY) | |||
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/include" "${PROJECT_BINARY_DIR}/include/hipsparse") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
execute_process
doesn't put any information into the generated Makefile about what input files affect what output files. I think this may break your incremental builds, as your headers will not get recopied when you change them.
We will skip this on 6.2 |
Reorganize hipsparse header to it is more manageable.