-
Notifications
You must be signed in to change notification settings - Fork 184
Always build with JIT+LTO #1923
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
Merged
Merged
Changes from 2 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
fcffe8a
Always build with JIT+LTO
KyleFromNVIDIA 6c91f9d
Use the driver API instead
KyleFromNVIDIA e858407
Conda recipe
KyleFromNVIDIA 1972a74
deps
KyleFromNVIDIA 4503307
PRIVATE
KyleFromNVIDIA a42ede0
auditwheel
KyleFromNVIDIA e26519f
Conda recipe
KyleFromNVIDIA 697d1d0
Merge branch 'release/26.04' into jit-lto-cuda-12
KyleFromNVIDIA 3269055
Revert "Conda recipe"
KyleFromNVIDIA 07c50e6
COMPILE_ONLY
KyleFromNVIDIA 788fd34
PUBLIC
KyleFromNVIDIA e16b88f
Revert "Use the driver API instead"
KyleFromNVIDIA 96e9162
Remove driver dep
KyleFromNVIDIA 8027d97
Default to static linking of libcudart (#1627)
bdice 56229e8
Opt out of rmm's cudart dependency
KyleFromNVIDIA 0a0540a
Make rmm interface dependency COMPILE_ONLY
KyleFromNVIDIA f379ad4
Merge branch 'main' into jit-lto-cuda-12
KyleFromNVIDIA 38c9e9d
Merge branch 'main' into jit-lto-cuda-12
KyleFromNVIDIA 17c5cd7
Push
KyleFromNVIDIA af0a04e
Merge branch 'main' into cudart-static
KyleFromNVIDIA 8c771a5
Merge branch 'cudart-static' into jit-lto-cuda-12
KyleFromNVIDIA b6560be
Debugging
KyleFromNVIDIA 84ddcf9
Downgrade to compute 7.0 for CUDA 12
KyleFromNVIDIA b08a35d
Merge branch 'main' into jit-lto-cuda-12
KyleFromNVIDIA a8493a3
Remove JIT_LTO_COMPILATION variable
KyleFromNVIDIA 997ab66
Remove CUVS_ENABLE_JIT_LTO preprocessor definition
KyleFromNVIDIA fe67525
Use libnvjitlink run exports
KyleFromNVIDIA cb61d86
Merge branch 'main' into jit-lto-cuda-12
KyleFromNVIDIA File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| /* | ||
| * SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION. | ||
| * SPDX-License-Identifier: Apache-2.0 | ||
| */ | ||
|
|
||
| #pragma once | ||
|
|
||
| #include <raft/util/cuda_rt_essentials.hpp> | ||
|
|
||
| #include <cuda.h> | ||
|
|
||
| #define CU_TRY(call) \ | ||
| do { \ | ||
| CUresult const status = call; \ | ||
| if (status != CUDA_SUCCESS) { \ | ||
| std::string msg{}; \ | ||
| const char* name; \ | ||
| cuGetErrorName(status, &name); \ | ||
| const char* str; \ | ||
| cuGetErrorString(status, &str); \ | ||
| SET_ERROR_MSG( \ | ||
| msg, "CUDA error encountered at: ", "call='%s', Reason=%s:%s", #call, name, str); \ | ||
| throw raft::cuda_error(msg); \ | ||
| } \ | ||
| } while (0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.