Skip to content

Commit

Permalink
Fixup wrong key lookup. (#2048)
Browse files Browse the repository at this point in the history
This is a follow up to #1948.
  • Loading branch information
RomeoV authored Aug 21, 2023
1 parent 4b87ec0 commit b084b5b
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 b084b5b

Please sign in to comment.