Skip to content

Commit

Permalink
fix initialization for hip
Browse files Browse the repository at this point in the history
  • Loading branch information
rasolca committed Nov 25, 2024
1 parent 752a872 commit 37655e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lapack/gpu/larft.cu
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ __global__ void fix_tau(const unsigned k, const T* tau, unsigned inctau, T* t, u
T& t_ij = t[i + j * ldt];
T tau_j = tau[j * inctau];
if (i > j)
t_ij = {0.};
t_ij = {};
else if (i == j)
t_ij = tau_j;
else
Expand Down

0 comments on commit 37655e0

Please sign in to comment.