| 1 |
// RUN: %run_test hipify "%s" "%t" %hipify_args 3 --amap --skip-excluded-preprocessor-conditional-blocks --experimental %clang_args -D__CUDA_API_VERSION_INTERNAL -ferror-limit=500 |
| 2 |
|
| 3 |
// CHECK: #include <hip/hip_runtime.h> |
| 4 |
#include <cuda_runtime.h> |
| 5 |
#include <stdio.h> |
| 6 |
// CHECK: #include "hipblaslt.h" |
| 7 |
#include "cublasLt.h" |
| 8 |
// CHECK-NOT: #include "hipblaslt.h" |
| 9 |
|
| 10 |
int main() { |
| 11 |
printf("21.10010.10020. cuBLASLt API to hipBLASLt API synthetic test\n"); |
| 12 |
|
| 13 |
#if CUDA_VERSION >= 10010 && CUDA_VERSION <= 10020 |
| 14 |
// CHECK: hipblasLtMatrixLayoutOpaque_t blasLtMatrixLayoutOpaque; |
| 15 |
cublasLtMatrixLayoutStruct blasLtMatrixLayoutOpaque; |
| 16 |
#endif |
| 17 |
|
| 18 |
return 0; |
| 19 |
} |