Skip to content
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

Fix "TODO forward zero-set of arraycopy used memset rather than runtime type " #1790

Open
vchuravy opened this issue Sep 4, 2024 · 1 comment

Comments

@vchuravy
Copy link
Member

vchuravy commented Sep 4, 2024

GPUCompiler.@safe_warn "TODO forward zero-set of arraycopy used memset rather than runtime type $btstr"
LLVM.memset!(B, get_array_data(B, shadowres), LLVM.ConstantInt(i8, 0, false), length, algn)

GPUCompiler.@safe_warn "TODO forward zero-set of arraycopy used memset rather than runtime type $btstr"
LLVM.memset!(B, get_array_data(B, callv), LLVM.ConstantInt(i8, 0, false), length, algn)

I just got log-spammed with this:

┌ Warning: TODO forward zero-set of arraycopy used memset rather than runtime type 
│ Caused by:
│ Stacktrace:
│  [1] copy
│    @ ./array.jl:411
│  [2] unaliascopy
│    @ ./abstractarray.jl:1497
│  [3] unalias
│    @ ./abstractarray.jl:1481
│  [4] copyto!
│    @ ./abstractarray.jl:1067
│  [5] set!
│    @ ~/src/Chmy/src/Fields/field.jl:98
│  [6] set!
│    @ ~/src/Chmy/src/Fields/field.jl:0
└ @ Enzyme.Compiler ~/.julia/packages/GPUCompiler/y4cj1/src/utils.jl:59
@vchuravy
Copy link
Member Author

vchuravy commented Sep 4, 2024

Log-spam was triggered by #1779 (comment)

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

No branches or pull requests

1 participant