Skip to content

Commit

Permalink
Enzyme: mark device_sync as non-differentiable (#2605)
Browse files Browse the repository at this point in the history
[only downstream]
  • Loading branch information
wsmoses authored Dec 27, 2024
1 parent a0c2f4b commit 792aec5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ext/EnzymeCoreExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ end
function EnzymeCore.EnzymeRules.inactive_noinl(::typeof(CUDA.is_pinned), args...)
return nothing
end
function EnzymeCore.EnzymeRules.inactive_noinl(::typeof(CUDA.device_synchronize), args...)
return nothing
end
function EnzymeCore.EnzymeRules.inactive(::typeof(CUDA.launch_configuration), args...; kwargs...)
return nothing
end
Expand Down

0 comments on commit 792aec5

Please sign in to comment.