Skip to content

Commit

Permalink
[SYCLomatic oneapi-src#2200] Add test for cublasLtGetVersion (oneapi-…
Browse files Browse the repository at this point in the history
…src#779)

Signed-off-by: Jiang, Zhiwei <zhiwei.jiang@intel.com>
  • Loading branch information
zhiweij1 authored Aug 30, 2024
1 parent e8feec0 commit d434b70
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions features/feature_case/cublasLt/matmul.cu
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,12 @@ bool test7() {
return !error;
}

bool test_version() {
size_t v = cublasLtGetVersion();
printf("version: %lu\n", v);
printf("test_version pass\n");
return true;
}

// clang-format off
// A (4*3) B (2*3)
Expand Down Expand Up @@ -895,5 +901,6 @@ int main() {
pass = test5() && pass;
pass = test6() && pass;
pass = test7() && pass;
pass = test_version() && pass;
return pass ? 0 : 1;
}

0 comments on commit d434b70

Please sign in to comment.