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

cuTENSOR: Fix reference to undefined variable #2263

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix reference to undefined variable
  • Loading branch information
lkdvos committed Feb 11, 2024
commit 93c95fb1cc71f50351b2b799b8cc8e6ae0b650b0
2 changes: 1 addition & 1 deletion lib/cutensor/src/operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ function plan_reduction(
modeC = collect(Cint, Cinds)

actual_compute_type = if compute_type === nothing
reduction_compute_types[(eltype(A), eltype(B), eltype(C))]
reduction_compute_types[(eltype(A), eltype(C))]
else
compute_type
end
Expand Down