CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
108 lines
2.8 KiB
Plaintext
108 lines
2.8 KiB
Plaintext
// RUN: %run_test hipify "%s" "%t" %hipify_args %clang_args
|
|
|
|
// CHECK: #include <hip/hip_runtime.h>
|
|
// CHECK: #include <memory>
|
|
|
|
// CHECK-NOT: #include <cuda_runtime.h>
|
|
// CHECK-NOT: #include <hip/hip_runtime.h>
|
|
|
|
// CHECK: #include "hip/hip_runtime_api.h"
|
|
// CHECK: #include "hip/channel_descriptor.h"
|
|
// CHECK: #include "hip/device_functions.h"
|
|
// CHECK: #include "hip/driver_types.h"
|
|
// CHECK: #include "hip/hip_complex.h"
|
|
// CHECK: #include "hip/hip_fp16.h"
|
|
// CHECK: #include "hip/hip_texture_types.h"
|
|
// CHECK: #include "hip/hip_vector_types.h"
|
|
|
|
// CHECK: #include <iostream>
|
|
|
|
// CHECK: #include "hipblas.h"
|
|
// CHECK-NOT: #include "cublas.h"
|
|
// CHECK-NOT: #include "cublas_v2.h"
|
|
|
|
// CHECK: #include <stdio.h>
|
|
|
|
// CHECK: #include "hiprand/hiprand.h"
|
|
// CHECK: #include "hiprand/hiprand_kernel.h"
|
|
|
|
// CHECK: #include <algorithm>
|
|
|
|
// CHECK-NOT: #include "hiprand/hiprand.h"
|
|
// CHECK-NOT: #include "hiprand/hiprand_kernel.h"
|
|
// CHECK-NOT: #include "curand_discrete.h"
|
|
// CHECK-NOT: #include "curand_discrete2.h"
|
|
// CHECK-NOT: #include "curand_globals.h"
|
|
// CHECK-NOT: #include "curand_lognormal.h"
|
|
// CHECK-NOT: #include "curand_mrg32k3a.h"
|
|
// CHECK-NOT: #include "curand_mtgp32.h"
|
|
// CHECK-NOT: #include "curand_mtgp32_host.h"
|
|
// CHECK-NOT: #include "curand_mtgp32_kernel.h"
|
|
// CHECK-NOT: #include "curand_mtgp32dc_p_11213.h"
|
|
// CHECK-NOT: #include "curand_normal.h"
|
|
// CHECK-NOT: #include "curand_normal_static.h"
|
|
// CHECK-NOT: #include "curand_philox4x32_x.h"
|
|
// CHECK-NOT: #include "curand_poisson.h"
|
|
// CHECK-NOT: #include "curand_precalc.h"
|
|
// CHECK-NOT: #include "curand_uniform.h"
|
|
|
|
// CHECK: #include "hiprand/hiprand_mtgp32_host.h"
|
|
// CHECK: #include "rocrand/rocrand_mtgp32_11213.h"
|
|
|
|
// CHECK: #include <string>
|
|
|
|
// CHECK: #include "hipfft/hipfft.h"
|
|
// CHECK: #include "hipsparse.h"
|
|
|
|
#include <cuda.h>
|
|
// CHECK-NOT: #include <hip/hip_runtime.h>
|
|
|
|
#include <memory>
|
|
|
|
#include <cuda_runtime.h>
|
|
// CHECK-NOT: #include <hip/hip_runtime.h>
|
|
|
|
#include "cuda_runtime_api.h"
|
|
#include "channel_descriptor.h"
|
|
#include "device_functions.h"
|
|
#include "driver_types.h"
|
|
#include "cuComplex.h"
|
|
#include "cuda_fp16.h"
|
|
#include "cuda_texture_types.h"
|
|
#include "vector_types.h"
|
|
|
|
#include <iostream>
|
|
|
|
#include "cublas.h"
|
|
#include "cublas_v2.h"
|
|
// CHECK-NOT: #include "hipblas.h"
|
|
|
|
#include <stdio.h>
|
|
|
|
#include "curand.h"
|
|
#include "curand_kernel.h"
|
|
|
|
#include <algorithm>
|
|
|
|
#include "curand_discrete.h"
|
|
#include "curand_discrete2.h"
|
|
#include "curand_globals.h"
|
|
#include "curand_lognormal.h"
|
|
#include "curand_mrg32k3a.h"
|
|
#include "curand_mtgp32.h"
|
|
#include "curand_mtgp32_host.h"
|
|
#include "curand_mtgp32_kernel.h"
|
|
#include "curand_mtgp32dc_p_11213.h"
|
|
#include "curand_normal.h"
|
|
#include "curand_normal_static.h"
|
|
#include "curand_philox4x32_x.h"
|
|
#include "curand_poisson.h"
|
|
#include "curand_precalc.h"
|
|
#include "curand_uniform.h"
|
|
|
|
#include <string>
|
|
|
|
#include "cufft.h"
|
|
|
|
#include "cusparse.h"
|