Skip to content

Commit

Permalink
Correct name of cusolverDnGet/SetDeterministicMode (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
tfalders authored Sep 27, 2024
1 parent cc59c0f commit 2e454a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/src/nvidia_detail/hipsolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ try
if(!handle)
return HIPSOLVER_STATUS_NOT_INITIALIZED;

return hipsolver::cuda2hip_status(cusolverSetDeterministicMode(
return hipsolver::cuda2hip_status(cusolverDnSetDeterministicMode(
(cusolverDnHandle_t)handle, hipsolver::hip2cuda_deterministic(mode)));
#else
return HIPSOLVER_STATUS_NOT_SUPPORTED;
Expand All @@ -119,7 +119,7 @@ try
return HIPSOLVER_STATUS_INVALID_VALUE;

cusolverDeterministicMode_t dmode;
CHECK_CUSOLVER_ERROR(cusolverGetDeterministicMode((cusolverDnHandle_t)handle, &dmode));
CHECK_CUSOLVER_ERROR(cusolverDnGetDeterministicMode((cusolverDnHandle_t)handle, &dmode));
*mode = hipsolver::cuda2hip_deterministic(dmode);

return HIPSOLVER_STATUS_SUCCESS;
Expand Down

0 comments on commit 2e454a6

Please sign in to comment.