You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The kernel function itself probably should too, while it currently only accepts positional versions of these arguments (used to construct static sizes):
Hello @maleadt . This might be a novice question, but here we go. I tried solving this by adding the following
function $name(dev::Dev, sz::Union{S, Nothing}=$nothing, range::Union{NDRange, Nothing}=nothing) where {S <: $_Size, NDRange <: $_Size, Dev}
return $construct(dev, sz, range, $gpu_name)
end
I keep getting the same error. ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.
I tried searching through a lot of resources, but couldn't find any working solutions. I would appreciate any help to understand this problem.
Thank you in advance!
Activity
Komal0103 commentedon Mar 31, 2025
Hello @maleadt . This might be a novice question, but here we go. I tried solving this by adding the following
I keep getting the same error.
ERROR: Method overwriting is not permitted during Module precompilation. Use __precompile__(false) to opt-out of precompilation.I tried searching through a lot of resources, but couldn't find any working solutions. I would appreciate any help to understand this problem.
Thank you in advance!
maleadt commentedon Apr 1, 2025
Are you defining those methods from the REPL? You have to
devthe package and edit its sources.There's several topics on this error on Discourse, so I'd recommend reading those for some more insights.