-
Notifications
You must be signed in to change notification settings - Fork 5
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
Extend api #268
Extend api #268
Conversation
After a discussion with @matmanc, we concluded that it is potentially dangerous if the |
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.
looks good
* Added cu::Function::occupancyMaxActiveBlocksPerMultiprocessor() * Let target_embed_source inline local header files (#263) * Fix working directory for linking source into object file (#264) * Update readthedocs configuration (#265) * Fix target_embed_source when input file is a relative path (#266) * Removed deprecated cu::Context::setSharedMemConfig (#267) * Extend api (#268) * Add Device::getUUID * Add initial nvml wrapper * Fix target_embed_source (#269) * Fix target embed source paths (#270) * Fix path given to ld in target_embed_source * Fix missing arg in string replace * Fix CI (#271) * Add runtime subpackage * Fix symbols for test_nvrtc * [pre-commit.ci] pre-commit autoupdate (#259) * Update clang-format: v17.0.6 → v18.1.4 * Replace cmakelang with clang-format and cmake-format * Add nvrtc::findIncludePath (#272) * Make nvrtc::findIncludePath inline (#273) * Fix string replacements (#275) * Fix inline_local_includes (#276) * Make sure to select the correct INCLUDE_PATH (#277) * Fix typo (#278) * [pre-commit.ci] pre-commit autoupdate (#274) updates: - [github.com/pre-commit/mirrors-clang-format: v18.1.4 → v18.1.5](pre-commit/mirrors-clang-format@v18.1.4...v18.1.5) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Add inlined headers as dependencies in target_embed_source (#279) * Add inlined headers as dependencies in target_embed_source This ensure that the embedded sources are rebuild when a header is changed * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update cmake/cudawrappers-helper.cmake Co-authored-by: Bram Veenboer <veenboer@astron.nl> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bram Veenboer <veenboer@astron.nl> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add HIP version of occupancyMaxActiveBlocksPerMultiprocessor * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: John Romein <romein@astron.nl> Co-authored-by: john-romein <39552858+john-romein@users.noreply.github.com> Co-authored-by: Bram Veenboer <veenboer@astron.nl> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Added cu::Function::occupancyMaxActiveBlocksPerMultiprocessor() * Let target_embed_source inline local header files (#263) * Fix working directory for linking source into object file (#264) * Update readthedocs configuration (#265) * Fix target_embed_source when input file is a relative path (#266) * Removed deprecated cu::Context::setSharedMemConfig (#267) * Extend api (#268) * Add Device::getUUID * Add initial nvml wrapper * Fix target_embed_source (#269) * Fix target embed source paths (#270) * Fix path given to ld in target_embed_source * Fix missing arg in string replace * Fix CI (#271) * Add runtime subpackage * Fix symbols for test_nvrtc * [pre-commit.ci] pre-commit autoupdate (#259) * Update clang-format: v17.0.6 → v18.1.4 * Replace cmakelang with clang-format and cmake-format * Add nvrtc::findIncludePath (#272) * Make nvrtc::findIncludePath inline (#273) * Fix string replacements (#275) * Fix inline_local_includes (#276) * Make sure to select the correct INCLUDE_PATH (#277) * Fix typo (#278) * [pre-commit.ci] pre-commit autoupdate (#274) updates: - [github.com/pre-commit/mirrors-clang-format: v18.1.4 → v18.1.5](pre-commit/mirrors-clang-format@v18.1.4...v18.1.5) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Add inlined headers as dependencies in target_embed_source (#279) * Add inlined headers as dependencies in target_embed_source This ensure that the embedded sources are rebuild when a header is changed * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update cmake/cudawrappers-helper.cmake Co-authored-by: Bram Veenboer <veenboer@astron.nl> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bram Veenboer <veenboer@astron.nl> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add HIP version of occupancyMaxActiveBlocksPerMultiprocessor * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: John Romein <romein@astron.nl> Co-authored-by: john-romein <39552858+john-romein@users.noreply.github.com> Co-authored-by: Bram Veenboer <veenboer@astron.nl> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Description
Extend the API so that cudawrappers can also be used in PMT:
cu::Device::getUUID()
cudawrappers::nvml
target with only the functionality that PMT needsRelated issues:
Instructions to review the pull request