Skip to content

Commit

Permalink
Fixup wrong key lookup.
Browse files Browse the repository at this point in the history
This is a follow up to JuliaGPU#1948.
  • Loading branch information
RomeoV committed Aug 20, 2023
1 parent 9d61195 commit 418157a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cudnn/src/convolution.jl
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ function cudnnConvolutionBwdFilterAlgoPerf(xDesc, x, dyDesc, dy, convDesc, dwDes

key = (xDesc_native, dyDesc_native, convDesc_native)
val = lock(cudnnConvolutionBwdFilterAlgoPerfCacheLock) do
get(cudnnConvolutionBwdFilterAlgoPerfCache, (xDesc, dyDesc, convDesc), nothing)
get(cudnnConvolutionBwdFilterAlgoPerfCache, key, nothing)
end
if val === nothing
requestedAlgoCount = Int(CUDNN_CONVOLUTION_BWD_FILTER_ALGO_COUNT)
Expand Down

0 comments on commit 418157a

Please sign in to comment.