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

[FEA] Support for half-float mixed precise in brute-force #2382

Merged
merged 20 commits into from
Aug 22, 2024
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
conditionally skip sddmm test cases(2nd try)
  • Loading branch information
rhdong committed Jul 22, 2024
commit a55f10047bbd88a9ce6a36ac2bf687968baa6dbf
11 changes: 2 additions & 9 deletions cpp/test/sparse/sddmm.cu
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,6 @@ template <typename ValueType, typename IndexType>
return os;
}

void extractVersion(int version, int& major, int& minor, int& patch)
{
major = version / 1000;
minor = (version % 1000) / 100;
patch = version % 100;
}

bool isCuSparseVersionGreaterThan_12_0_1()
{
int version;
Expand Down Expand Up @@ -300,8 +293,8 @@ class SDDMMTest : public ::testing::TestWithParam<SDDMMInputs<ValueType, IndexTy

void SetUp() override
{
if (std::is_same_v<OutputType, half> && !isCuSparseVersionGreaterThan_12_0_1()) {
GTEST_SKIP() << "Skipping all tests for half-float when cuSparse doesn't support.";
if (std::is_same_v<ValueType, half> && !isCuSparseVersionGreaterThan_12_0_1()) {
GTEST_SKIP() << "Skipping all tests for half-float as cuSparse doesn't support it.";
}
make_data();
}
Expand Down
Loading