Skip to content

Commit

Permalink
Merge branch 'ROCm-Developer-Tools:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
icarus-sparry authored Aug 30, 2021
2 parents d35ca20 + bbc73f7 commit 676a852
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tests/unit_tests/synthetic/runtime_typedefs.cu
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;
}

0 comments on commit 676a852

Please sign in to comment.