Merged
Conversation
…into gpu_cleanup
…eanup_opts` kwargs.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #20 +/- ##
==========================================
+ Coverage 75.37% 81.40% +6.02%
==========================================
Files 13 25 +12
Lines 670 1242 +572
==========================================
+ Hits 505 1011 +506
- Misses 165 231 +66 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
…ared within extern functions.
Owner
Author
|
Example code for missing newline between @kernel inbounds=true unsafe_indices=true function sync_shared(x)
is_main = @index(Local, Linear) == 1
shrd = KernelAbstractions.@localmem Int (1,)
if is_main
shrd[1] = 42
end
KernelAbstractions.@synchronize()
val = shrd[1]
i = @index(Local, Linear)
x[i] = val
end |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fix for #19
<current_function>or something elsemangled_namefollowed by_param_<idx>, messing up the demangling, this should be replaced easily.extern .func (.param .b64 func_retval0) overflow_caseare not sorted deterministicallyret;and the closing}debuginfoalternative for all code types; Locationcomments in SASS (as an option)cuda_llvm, the function name is still mangled@%p1 bra %L1is aligned with other instruction at@, but doing it atbrawould match how nsys does it) (read the PTX spec to match predicates correctly)// Parent Loop BB0_8 Depth=1,// => This Loop Header: Depth=4,// Child Loop BB0_265 Depth 5, or// in Loop: Header=BB0_17 Depth=3@code_forand@code_diffKernel test case: