From c4696fc7f2a2e1194b148b0aa195ad840e465cf7 Mon Sep 17 00:00:00 2001 From: Evgeny Mankov Date: Tue, 11 Jun 2024 21:24:21 +0100 Subject: [PATCH] [SWDEV-467303][P1][ROCm QA][NPI][Mainline][QR][MI300X-O][Banff] Observing unit_tests failure while running hipify - HipClang UT [HIPIFY][Linux][tests][fix] Fix `Runtime` test dealing with `unsigned long long` (`CUDA >= 12.0` tests affected) Change-Id: Ia66260a71b4729f518250cb71be5e50bd9c5b43e --- tests/unit_tests/synthetic/runtime_functions.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit_tests/synthetic/runtime_functions.cu b/tests/unit_tests/synthetic/runtime_functions.cu index ff5f3061..80f743fd 100644 --- a/tests/unit_tests/synthetic/runtime_functions.cu +++ b/tests/unit_tests/synthetic/runtime_functions.cu @@ -1597,8 +1597,8 @@ int main() { #if CUDA_VERSION >= 12000 // CUDA: extern __host__ cudaError_t CUDARTAPI cudaGraphExecGetFlags(cudaGraphExec_t graphExec, unsigned long long *flags); // HIP: hipError_t hipGraphExecGetFlags(hipGraphExec_t graphExec, unsigned long long* flags); - // CHECK: result = hipGraphExecGetFlags(GraphExec_t, &ull); - result = cudaGraphExecGetFlags(GraphExec_t, &ull); + // CHECK: result = hipGraphExecGetFlags(GraphExec_t, &ull_2); + result = cudaGraphExecGetFlags(GraphExec_t, &ull_2); #endif #if CUDA_VERSION >= 12020