Skip to content

Commit

Permalink
Cleanup device vectors
Browse files Browse the repository at this point in the history
  • Loading branch information
cgmb committed Jan 30, 2023
1 parent 6ba7cf2 commit a64e447
Show file tree
Hide file tree
Showing 6 changed files with 209 additions and 409 deletions.
6 changes: 3 additions & 3 deletions clients/include/testing_gesvdx.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* ************************************************************************
* Copyright (c) 2022 Advanced Micro Devices, Inc.
* Copyright (c) 2022-2023 Advanced Micro Devices, Inc.
* ************************************************************************ */

#pragma once
Expand Down Expand Up @@ -166,7 +166,7 @@ void testing_gesvdx_bad_arg()

// check bad arguments
gesvdx_checkBadArgs<STRIDED>(handle, left_svect, right_svect, srange, m, n, dA.data(), lda,
stA, vl, vu, il, iu, dNsv, dS.data(), stS, dU.data(), ldu, stU,
stA, vl, vu, il, iu, dNsv.data(), dS.data(), stS, dU.data(), ldu, stU,
dV.data(), ldv, stV, difail.data(), stF, dinfo.data(), bc);
}
else
Expand All @@ -177,7 +177,7 @@ void testing_gesvdx_bad_arg()

// check bad arguments
gesvdx_checkBadArgs<STRIDED>(handle, left_svect, right_svect, srange, m, n, dA.data(), lda,
stA, vl, vu, il, iu, dNsv, dS.data(), stS, dU.data(), ldu, stU,
stA, vl, vu, il, iu, dNsv.data(), dS.data(), stS, dU.data(), ldu, stU,
dV.data(), ldv, stV, difail.data(), stF, dinfo.data(), bc);
}
}
Expand Down
4 changes: 3 additions & 1 deletion clients/include/testing_managed_malloc.hpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
/* ************************************************************************
* Copyright (c) 2020-2022 Advanced Micro Devices, Inc.
* Copyright (c) 2020-2023 Advanced Micro Devices, Inc.
* ************************************************************************ */

#pragma once

#include "clientcommon.hpp"
#include "lapack_host_reference.hpp"
#include "norm.hpp"
#include "rocblascommon/rocblas_init.hpp"
#include "rocblascommon/rocblas_vector.hpp"
#include "rocsolver.hpp"
#include "rocsolver_arguments.hpp"
#include "rocsolver_test.hpp"
Expand Down
Loading

0 comments on commit a64e447

Please sign in to comment.