-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ROCm-Developer-Tools:master' into master
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// RUN: %run_test hipify "%s" "%t" %hipify_args -D__CUDA_API_VERSION_INTERNAL %clang_args | ||
|
||
// CHECK: #include <hip/hip_runtime.h> | ||
#include <cuda_runtime_api.h> | ||
|
||
int main() { | ||
printf("07. CUDA Runtime API Typedefs synthetic test\n"); | ||
|
||
// CHECK: hipHostFn_t HostFn_t; | ||
// CHECK-NEXT: hipStreamCallback_t StreamCallback_t; | ||
// CHECK-NEXT: hipSurfaceObject_t SurfaceObject_t; | ||
// CHECK-NEXT: hipTextureObject_t TextureObject_t; | ||
cudaHostFn_t HostFn_t; | ||
cudaStreamCallback_t StreamCallback_t; | ||
cudaSurfaceObject_t SurfaceObject_t; | ||
cudaTextureObject_t TextureObject_t; | ||
|
||
return 0; | ||
} |