Skip to content

Commit

Permalink
[HIPIFY][tests][Windows][fix] Fix for (u)int64_t and `CUDDA_VERSION…
Browse files Browse the repository at this point in the history
… < 9000`
  • Loading branch information
emankov committed Feb 7, 2024
1 parent ee03d2a commit b4f6388
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/unit_tests/synthetic/libraries/cublas2hipblas_v2.cu
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
#include "cublas_v2.h"
// CHECK-NOT: #include "hipblas.h"

#if defined(_WIN32) && CUDDA_VERSION < 9000
typedef signed __int64 int64_t;
typedef unsigned __int64 uint64_t;
#endif

int main() {
printf("14.v2. cuBLAS API to hipBLAS API synthetic test\n");

Expand Down
5 changes: 5 additions & 0 deletions tests/unit_tests/synthetic/libraries/cublas2rocblas.cu
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
#include "cublas.h"
// CHECK-NOT: #include "rocblas.h"

#if defined(_WIN32) && CUDDA_VERSION < 9000
typedef signed __int64 int64_t;
typedef unsigned __int64 uint64_t;
#endif

int main() {
printf("16. cuBLAS API to hipBLAS API synthetic test\n");

Expand Down
5 changes: 5 additions & 0 deletions tests/unit_tests/synthetic/libraries/cublas2rocblas_v2.cu
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
#include "cublas_v2.h"
// CHECK-NOT: #include "rocblas.h"

#if defined(_WIN32) && CUDDA_VERSION < 9000
typedef signed __int64 int64_t;
typedef unsigned __int64 uint64_t;
#endif

int main() {
printf("16.v2. cuBLAS API to hipBLAS API synthetic test\n");

Expand Down

0 comments on commit b4f6388

Please sign in to comment.